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. …humans don't in cases where complex instructions are beneficial, see Linux kernel using rep movsb ( https://github.com/torvalds/linux/blob/5189dafa4cf950e675f02 ...), and Arm introducing similar complex instructions (…
    comment by clamchowder · 2024-08-11 · in AMD's Strix Point: Zen 5 Hits Mobile
  2. …library supports reading the flags from a file, in case your appetite for flags is insatiable. https://github.com/torvalds/linux/commit/b6a2fea39318e43fee8...
  3. Thanks for the pointers!! https://www.man7.org/linux/man-pages/man2/PR_SET_MM_EXE_FILE... https://github.com/torvalds/linux/blob/master/kernel/fork.c#... /* Forbid mm->exe_file change if old file still mapped. */ I suppose before doing…
  4. Yes, but it's hard to find in the kernel: https://github.com/torvalds/linux/tree/5437f30d3458ad36e83ab...
    comment by commandersaki · 2024-07-28 · in The Linux Kernel Module Programming Guide
  5. …chooses to utilize the problem commit. The commit where the kernel bug was introduced is seen at https://github.com/torvalds/linux/commit/fde2a3882bd07876c14... and the commit that resolves the issue is seen at…
  6. …Isovalent, Google) and academia (e.g., Rutgers University, University of Washington). [0] links to https://github.com/torvalds/linux/blob/master/kernel/bpf/ver... which has this interesting comment at the top: /* bpf_check() is a static…
    comment by shrx · 2024-07-22 · in No More Blue Fridays
  7. …via the linux/unistd.h header which in turn includes the appropriate asm-generic/ and asm/ headers. https://github.com/torvalds/linux/blob/master/include/uapi/a... https://github.com/torvalds/linux/blob/master/tools/arch/x86...…
    comment by matheusmoreira · 2024-07-21 · in A Linux kernel syscall implementation tracker
  8. …standards. But by the standards of historical mainframe/minicomputer filesystems, less so. [0] https://github.com/torvalds/linux/blob/v6.10/arch/s390/inclu... [1] https://github.com/torvalds/linux/blob/v6.10/block/partition...
  9. …z/VM might be able to do so, by relying on the hypervisor’s card device driver. [0] Have a look at https://github.com/torvalds/linux/blob/v6.10/drivers/s390/ch... – if it encounters a real card reader/punch, it is hardcoded to return…
  10. Line 593 https://github.com/torvalds/linux/blob/d67978318827d06f1c0fa...
  11. …That gets set in a termios structure that gets passed to the kernel's terminal subsystem via ioctl. https://github.com/torvalds/linux/blob/master/include/uapi/a... https://github.com/torvalds/linux/blob/master/include/uapi/a...…
    comment by matheusmoreira · 2024-07-09 · in Entering text in the terminal is complicated
  12. …other than e.g. [0], but I was around (IRC, mailing lists) when some of these were created. [0]: https://github.com/torvalds/linux/blob/master/Documentation/...
  13. …https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin... https://github.com/torvalds/linux/blob/master/include/uapi/l... https://github.com/torvalds/linux/blob/master/include/uapi/l... https://github.com/torvalds/li
    comment by matheusmoreira · 2024-07-02 · in The Byte Order Fiasco (2021)
  14. …is voodoo from the Promise driver. Label this entire section "TODO: figure out why we do this" ``` https://github.com/torvalds/linux/blob/0450d2083be6bdcd18c95...
  15. …not let you hold a reference to an individual thread, only to a process I think that's outdated: https://github.com/torvalds/linux/commit/64bef697d33b75fc06c...
    comment by garaetjjte · 2024-05-16 · in What even is a pidfd anyway?
  16. This seems to be the relevant behaviour from ext4: https://github.com/torvalds/linux/blob/8c06da67d0bd3139a97f3...
  17. …by all 3 major BSDs. I'm fairly confident that Linux actually supports it through the ufs driver ( https://github.com/torvalds/linux/tree/master/fs/ufs ); whether the use of different names in different places makes it better or worse is…
    comment by yjftsjthsd-h · 2024-04-30 · in The File Filesystem (2021)
  18. These are a bit easier to see what's going on: https://github.com/torvalds/linux/commit/d5cf50dafc9dd5faa1e... https://github.com/torvalds/linux/blob/d5cf50dafc9dd5faa1e61... Unfortunately Github doesn't have a way to render symbols for…
  19. …[2]: https://github.com/1fishe2fishe/EXODUS/blob/90f70386b8ac6bd0... [3]: https://github.com/torvalds/linux/blob/8f2c057754b25075aa3da...
  20. I remember the 3c590 ( https://github.com/torvalds/linux/blob/20cb38a7af88dc40095da... ) doing something awful too which required changing the PCI latency setting from 32 to 248 to avoid some catastrophic errors. It's amazing how much…
  21. …ps://wiki.gentoo.org/wiki/Gentoo_FreeBSD [1] https://docs.kernel.org/admin-guide/binfmt-misc.html [2] https://github.com/torvalds/linux/blob/master/fs/binfmt_elf....
  22. …because it's a valid use-case for user space to copy smaller portions of *hwrpb into user space. https://github.com/torvalds/linux/commit/21c5977a836e399fc71...
    comment by 1udfx9cf8azi0 · 2024-04-03 · in Improvements to static analysis in GCC 14
  23. …what happened, the merge commit looks nothing like what you could make from GitHub (merging a tag). https://github.com/torvalds/linux/commit/8d7e76846521440255a...
  24. …is the Linux kernel. There is code under different licenses in there, but people don't even read https://github.com/torvalds/linux/blob/master/COPYING till the end ("In addition, other licenses may also apply.") and conclude it's simply…
    comment by Tomte · 2024-03-27 · in TinyMCE (also) moving from MIT to GPL
  25. Your link converted to GitHub: https://github.com/torvalds/linux/commit/f342de4e2f33e0e3916... https://bugs.launchpad.net/bugs/cve/2024-1086 > A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be…
  26. …something against it? He notoriously hates GNU Emacs, yes. https://marc.info/?m=122955159617722 https://github.com/torvalds/linux/blob/master/Documentation/...
  27. …all lines and not only LoC it would be around 0.05% [0] https://github.com/XAMPPRocky/tokei [1] https://github.com/torvalds/linux/commit/b401b621758e46812da...
    comment by SushiHippie · 2024-02-18 · in The Linux Kernel Prepares for Rust 1.77 Upgrade
  28. …directly by the kernel via the exec family of system calls, so ld.so shouldn't be involved. https://github.com/torvalds/linux/blob/master/fs/Kconfig.bin... config BINFMT_SCRIPT tristate "Kernel support for scripts starting with #!" default…
    comment by khrbtxyz · 2024-02-16 · in Pure Bash Web Server
  29. …not kernel upstream. they won't take esync/fsync because those have some missing features. https://github.com/torvalds/linux/commit/a0eb2da92b715d0c97b...
  30. …the dillo plugin which automates this process): dir=$(mktemp -d) git clone --no-checkout --depth 1 https://github.com/torvalds/linux.git $dir cd $dir git ls-tree -r HEAD git checkout HEAD -- README.md ; less README.md # etc. # if you just…
  31. …device type, depending on how nice the manufacturers are), but that's how you get stuff like this: https://github.com/torvalds/linux/tree/master/arch/arm64/boo... On ARM there are actually a few devices that implement UEFI, but most of…
  32. …a number of changes in recent years including bug fixes. Kudos to the people providing the support. https://github.com/torvalds/linux/commits/0dd3ee31125508cd67...
    comment by 8organicbits · 2024-01-08 · in Ubuntu Looking at Discontinuing Its Source ISOs
  33. …maintainers are very against this idea, there's even a mini-rant included in the kernel source: https://github.com/torvalds/linux/blob/master/Documentation/... In my opinion, the rationale in this document is mostly post-hoc justification…
    comment by phendrenad2 · 2024-01-08 · in Linux 6.7 Kernel Released
  34. The Linux Kernel Driver Interface (all of your questions answered and then some) https://github.com/torvalds/linux/blob/master/Documentation/...
    comment by peoplefromibiza · 2024-01-03 · in Maestro: A Linux-compatible kernel in Rust
  35. Here is a very simple linux driver https://github.com/torvalds/linux/blob/master/drivers/pwm/pw...
    comment by adraenwan · 2023-12-22 · in C Object Oriented Programming (2014)
  36. …the reverted commit on non-obsolete architectures, which support the jitter entropy generation. [1] https://github.com/torvalds/linux/commit/48bff1053c172e6c7f3...
    comment by Denvercoder9 · 2023-12-20 · in Uniting the Linux random-number devices (2022)
  37. The commit [1] was eventually reverted [2] [1] https://github.com/torvalds/linux/commit/6f98a4bfee72c22f50a... [2] https://github.com/torvalds/linux/commit/0313bc278dac7cd9ce8... > "This causes a large number of qemu boot test failures for…
  38. The RDRAND instruction usage is configurable https://github.com/torvalds/linux/blob/master/Documentation/... edit: https://github.com/torvalds/linux/blob/55cb5f43689d7a9ea5bf3...
  39. …([0] needs [1] but that one was not backported). Fixed in 6.1.67 [2] released this morning. [0] https://github.com/torvalds/linux/commit/7e7efdda6adb385fbdf... [1] https://github.com/torvalds/linux/commit/076fc8775dafe995e94... [2]…
    comment by jiripospisil · 2023-12-11 · in Linux: Ext4 data corruption in 6.1.64-1
  40. …of Debian but it is not specific to it. The issue is/was in the official upstream release. [0] https://github.com/torvalds/linux/commit/936e114a245b6e38e0d... [1] https://github.com/torvalds/linux/commit/91562895f8030cb9a04... [2]…
    comment by jiripospisil · 2023-12-10 · in Linux: Ext4 data corruption in 6.1.64-1
  41. …unaligned. #define unaligned(P) (((struct { typeof(*(P)) x; } __attribute__((packed))*)(P))->x) [0] https://github.com/torvalds/linux/blob/7b9e664beb237d90bc600...
  42. …requests. But it looks a bit too subtle since the quotation character hugs the first character. [1] https://github.com/torvalds/linux/commit/5b2b1173a93fa056b45...
    comment by chrishill89 · 2023-11-28 · in The `hanging-punctuation property` in CSS
  43. Everything is a website these days. Even code commits. https://github.com/torvalds/linux/commits.atom
  44. The out-of-tree repo https://github.com/torvalds/linux/compare/master...lenticula... From a distance I think it should stay gone - nothing is stopping the users from using an older kernel forever-more - plenty of other devices do and it's…
  45. …is capped to 8. This has nothing to do with the number of cores that can actually be used. [0] https://github.com/torvalds/linux/commit/acb4a848da821a095ae...
  46. GH for sure allows commentary on individual commits (e.g. < https://github.com/torvalds/linux/commit/23816724fdbd47c28bc... >) but they do not automatically roll up to the top-level PR view (since, how would that work with cherry-picks: it…
    comment by mdaniel · 2023-11-09 · in Reducing patch postings to Linux-kernel
  47. …before breaking them.) [0] https://en.wikipedia.org/wiki/The_Power_of_10:_Rules_for_Dev... [1] https://github.com/torvalds/linux/blob/79c70c304b0b443429b2a...
    comment by enriquto · 2023-11-07 · in MISRA C
  48. …own tools. It was a single file back then, by now it's become a sprawling directory full of code: https://github.com/torvalds/linux/tree/master/tools/include/... Even asked Greg Kroah-Hartman on reddit about it once:…
    comment by matheusmoreira · 2023-11-07 · in A standalone zero-dependency Lisp for Linux
  49. …split should do. https://lwn.net/Articles/507794/ https://stackoverflow.com/q/18858190/512904 https://github.com/torvalds/linux/tree/master/include/uapi These are the only headers that lone currently requires. When lone is built, a script…
    comment by matheusmoreira · 2023-11-06 · in A standalone zero-dependency Lisp for Linux
  50. There is still a Linux driver for the 825xx chips, if you want to see how the software side works. https://github.com/torvalds/linux/blob/master/drivers/net/et...