Hacker GitHub

← All repos

torvalds/linux

View on GitHub ↗ ★ 254,124 C

Linux kernel source tree

947 mentions on Hacker News by 745 people: 99 stories, 848 comments · first 2010-07-15 · latest 2026-10-29

Mentions per year 947 mentions · busiest year 2022 (104)
20082026
  1. The driver used as inspiration is fully opensource https://github.com/torvalds/linux/tree/v6.18/drivers/net/wir... I don't know why it has not been brought in the BSDs (maybe license), but they do are a bit more careful with what they…
  2. ▲ 2
    Linux Kernel Project Continuity
    story by zdw · 2026-01-29 · 0 comments
  3. …out of order, so sometimes an lfence (previously cpuid) can be used and there is also rdtscp See https://github.com/torvalds/linux/blob/master/arch/x86/inclu... And just because rdtsc is constant doesn't mean the processor clock will be…
  4. ▲ 2
    Linux kernel community has a contingency plan to replace Linus Torvalds
    story by speckx · 2026-01-28 · 1 comment
  5. ▲ 18
    GitHub Is Down
    story by dfajgljsldkjag · 2026-01-15 · 16 comments
  6. …take up a lot of space compared to other areas. Just look at the mass of AMD template garbage here: https://github.com/torvalds/linux/tree/master/drivers/gpu/dr...
    comment by Y_Y · 2026-01-11 · in Gentoo Linux 2025 Review
  7. …kernel back in November.[2] [1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38... [2] https://github.com/torvalds/linux/commit/01ff3bf272156615d6c...
  8. How does this compare to the Amiga filesystem support built in to the Linux Kernel? https://github.com/torvalds/linux/blob/master/fs/affs/Kconfi... It looks like it shoehorns proprietary binary blobs into Linux, but what is missing from…
  9. ▲ 9
    I don't do GitHub pull requests – Linus Torvalds
    story by Fiveplus · 2025-12-27 · 6 comments
  10. Looks like from https://github.com/torvalds/linux/archive/refs/heads/master.... but you could also try Ubuntu.
  11. …requests will fail with preemptive OOMs. (e.g. postgresql servers typically disable overcommit) - https://github.com/torvalds/linux/blob/master/mm/util.c#L753
  12. …exclusive access to a list won't stop you from adding the same element to multiple lists. [0]: https://github.com/torvalds/linux/blob/3e0ae02ba831da2b70790...
  13. …code organization would have eliminated the need for the unsafe block in this specific case. [0]: https://github.com/torvalds/linux/blob/3e0ae02ba831da2b70790...
  14. …}; } needs_queueing } [0]: https://lore.kernel.org/linux-cve-announce/2025121614-CVE-20... [1]: https://github.com/torvalds/linux/commit/3e0ae02ba831da2b707... [2]: https://github.com/torvalds/linux/blob/3e0ae02ba831da2b70790... [3]:…
  15. …init= option to kernel."[2] 1: https://github.com/archlinux/mkinitcpio/blob/2dc9e12814aafcc... 2: https://github.com/torvalds/linux/blob/d358e5254674b70f34c84...
  16. …hard to write. Mostly Rust has been used for drivers so far. Here's the first Rust driver I found: https://github.com/torvalds/linux/blob/2137cb863b80187103151... It has one trivial use of `unsafe` - to support Send & Sync for a type - and…
  17. …Zig community lead going off about RAII before and making claims like "linux would never do this" ( https://github.com/torvalds/linux/blob/master/include/linux/... ). There are bad cases of RAII APIs for sure, but it's not all bad. Andrew…
    comment by raggi · 2025-12-04 · in Thoughts on Go vs. Rust vs. Zig
  18. …either, look at the Linux kernels PRs, it's almost all spam. Why on earth can't PRs be disabled? https://github.com/torvalds/linux/pulls?q=is%3Apr+is%3Aclose...
  19. There is a C API. man landlock_add_rule for example. https://github.com/torvalds/linux/blob/master/include/uapi/l... you can add simple one-line wrappers if you don't like using syscall() function.
    comment by megous · 2025-11-30 · in Landlock-Ing Linux
  20. …not just calling syscall() with a magic number: https://docs.kernel.org/userspace-api/landlock.html https://github.com/torvalds/linux/blob/6bda50f4/include/uapi... https://github.com/torvalds/linux/blob/6bda50f4/include/linu...
    comment by wging · 2025-11-30 · in Landlock-Ing Linux
  21. …the Linux repo are quite terrible. At least there's a bot to auto-reply with the correct procedure. https://github.com/torvalds/linux/pull/1370
  22. It is strange, cursory digging for an explanation was a little more complex than I bargained for... https://github.com/torvalds/linux/blob/v6.17/fs/binfmt_scrip... I think it makes it to calling open_exec but there's a test for…
  23. …part of same sentence. The latter one (goto) is routinely used by linux devs (random example: https://github.com/torvalds/linux/blob/master/fs/ext4/balloc... ) > we just stop using it. We minimise/restrict the usage.
  24. Have a look at X1E devicetree in Linux kernel source ( https://github.com/torvalds/linux/tree/master/arch/arm64/boo... all the way to the bottom). There are some models that have a very active development and an almost complete support by…
    comment by cromka · 2025-11-15 · in Linux on the Fujitsu Lifebook U729
  25. ▲ 1
    The Rockchip calendar used by the RK808 counts November with 31 days (2015)
    story by riffraff · 2025-11-12 · 0 comments
  26. ▲ 2
    Rtc: Rk808: Compensate for Rockchip calendar deviation on November 31st
    story by birdculture · 2025-11-11 · 0 comments
  27. That's right! https://lwn.net/Articles/631631/ https://github.com/torvalds/linux/blob/master/fs/binfmt_elf.... Especially relevant for dynamic linkers is the AT_PHDR and AT_BASE auxiliary vector entries which provide the address of the…
    comment by matheusmoreira · 2025-10-26 · in The Journey Before main()
  28. …The kernel has their own nolibc infrastructure now, no doubt much better than my project. https://github.com/torvalds/linux/tree/master/tools/include/... I encourage everyone to use it. Note also that _start is an arbitrary symbol. The…
    comment by matheusmoreira · 2025-10-26 · in The Journey Before main()
  29. …to filters on the commit date, not the author date. Broken link points here and shows no commits: https://github.com/torvalds/linux/commits?author=vkoskiv&sin... If I correct the date range to include the maintainer commit date (May 15th),…
    comment by vkoskiv · 2025-10-20 · in My first contribution to Linux
  30. https://github.com/torvalds/linux/pull/1355
    comment by throwawaylnx · 2025-10-15 · in GitHub Bans Vmfunc
  31. ▲ 1
    I am new to GitHub and I have a lot to say
    story by surprisetalk · 2025-09-29 · 0 comments
  32. ▲ 15
    Linux: Make the Kernel Cute
    story by sergiotapia · 2025-09-22 · 15 comments
  33. …to fix the bug but never did. It also contains quirks for Intel x86 core platform features: https://github.com/torvalds/linux/blob/master/arch/x86/kerne... For the now-fashionable LLMs-on-GPUs world, it's pretty much just matrix…
  34. …to be superior to Github's and once complained about the latter on Github itself [1]. [1] https://github.com/torvalds/linux/pull/17#issuecomment-56546...
  35. …error = old_dir->i_op->rename(rd->new_mnt_idmap, old_dir, old_dentry, new_dir, new_dentry, flags); https://github.com/torvalds/linux/blob/master/fs/namei.c#L51... That is a close match for the first example, with additional arguments. It…
  36. …https://github.com/openbsd/src/blob/master/sys/arch/amd64/am... 3. Relevant Linux kernel code: https://github.com/torvalds/linux/blob/master/arch/x86/kerne... , https://github.com/torvalds/linux/blob/master/arch/x86/kerne... 4. Linux…
  37. The latest kernel as of today still supports the 486SX ! ( https://github.com/torvalds/linux/blob/v6.17-rc1/arch/x86/Kc... )
    comment by matja · 2025-08-14 · in Debian 13 “Trixie”
  38. …even refuses to parse many them: https://kernel.googlesource.com/pub/scm/linux/kernel/git/tor... https://github.com/torvalds/linux/blob/master/drivers/gpu/dr... The last file in nbio is a header file with 38900 lines — a single file of…
  39. https://github.com/torvalds/linux/blob/master/drivers/gpu/dr... 11k lines of #defines Is this truly necessary?
  40. …NOT compiled code. It's a huge part of Linux, too, over at drivers/gpu/drm/amd/include/asic_reg : https://github.com/torvalds/linux/tree/master/drivers/gpu/dr... In OpenBSD, the last release before the explosive growth, was OpenBSD 6.5…
  41. …folio for a whole set of pages, so moving the data there will save a significant amount of memory. https://github.com/torvalds/linux/blob/89be9a83ccf1f88522317...
  42. struct page in Linux is this taken to its logical conclusion. https://github.com/torvalds/linux/blob/89be9a83ccf1f88522317... Edit: A bit of background: https://lwn.net/Articles/565097/
  43. …changes in the commit messages: - https://docs.kernel.org/process/submitting-patches.html#desc... - https://github.com/torvalds/linux/blob/master/Documentation/... - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin... Git's own…
    comment by andrybak · 2025-07-04 · in A Higgs-Bugson in the Linux Kernel
  44. …me: it made me think about ways I could reinvent email. [1] https://github.com/openssl/openssl [2] https://github.com/torvalds/linux
    comment by dvt · 2025-07-01 · in Why email startups fail
  45. …some of these C programs: https://github.com/nodejs/node https://github.com/mozilla-firefox/firefox https://github.com/torvalds/linux https://github.com/python/cpython
  46. Yeah, it's very easy. Real devices usually adhere to the specs.. only very few exceptions: https://github.com/torvalds/linux/blame/master/drivers/hid/h... .. /s
  47. …the kernel’s internal ABI and API is constantly changing. There is some documentation on why here: https://github.com/torvalds/linux/blob/master/Documentation/...
  48. …most of it seems to be down to a single commit that removed repeated usage of fuck from one file: https://github.com/torvalds/linux/commit/a44d924c81d43ddffc9...
  49. …of “Firefox Moves to GitHub”? It could be a mirror, just like Linux also has an mirror on GitHub. https://github.com/torvalds/linux // EDIT: Source: https://news.ycombinator.com/item?id=43970574
    comment by mritzmann · 2025-05-13 · in Mozilla Firefox – Official GitHub repo
  50. …board. So what happens is that Armbian ship a different image for each board. If you go and look in https://github.com/torvalds/linux/tree/master/arch/arm you see a zillion "mach-xxx" directories for different SoC architectures, even if…