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. Permalink (press 'y' anywhere on GitHub): https://github.com/torvalds/linux/blob/4d939780b70592e0f4bc6... .
    comment by heinrich5991 · 2024-10-18 · in C++ proposal: There are exactly 8 bits in a byte
  2. …IEEE floats should be next? Though that would obsolete this Linux kernel classic so maybe not. https://github.com/torvalds/linux/blob/master/include/math-e...
  3. …explicit "system calls are not linking" exception to avoid any possible confusion on this matter. https://github.com/torvalds/linux/blob/master/LICENSES/excep... Merely using the kernel's facilities from user space does not make your…
  4. …Currently Linux still follows RFC6928 and defaults to initcwnd=10 : https://github.com/torvalds/linux/blob/v6.11/include/net/tcp...
  5. …learners, the more random PRs you get. But apparently even projects like linux kernel aren't safe https://github.com/torvalds/linux/pulls?q=is%3Apr+is%3Aclose... (for context, this repo doesn't accept PRs as development happens in mailing…
  6. …these constraints, but not all of them. If you ned that, you can always get to manual patching in https://github.com/torvalds/linux/blob/d42f7708e27cc68d080ac... et al.
  7. Maybe related to this? https://github.com/torvalds/linux/blob/master/tools/thermal/...
  8. …impression that it's mandatory to allow anyone to request changes and for you to review them. [1] https://github.com/torvalds/linux/pull/7 [2] https://github.com/torvalds/linux/pull/17
    comment by faresahmed · 2024-09-11 · in Yaak is now open source
  9. …change, but apparently this driver is going to be enabled on Fedora rawhide soon. https://github.com/torvalds/linux/blob/master/drivers/net/ph... MR where they are working though a build system issue: https://gitlab.com/cki-project/kernel-a
    comment by gpm · 2024-08-31 · in Rust in Linux Revisited
  10. …API docs: https://www.kernel.org/doc/html/v6.0/filesystems/api-summary... And the function itself: https://github.com/torvalds/linux/blob/d5d547aa7b51467b15d9c... Ask yourself when and how this can fail. I'm not sure those case are covered…
    comment by mustache_kimono · 2024-08-30 · in Rust in Linux Revisited
  11. …from objdump you are seeing the result of RET being replaced with JMP __x86_return_thunk. https://github.com/torvalds/linux/blob/v6.1/arch/x86/include... https://github.com/torvalds/linux/blob/v6.1/arch/x86/lib/ret... > The NOP…
    comment by fatcunt · 2024-08-26 · in Linux Pipes Are Slow
  12. …(maybe because of the target ?). I 'd be interested to know more about that. Call to the wild. [1]: https://github.com/torvalds/linux/blob/master/arch/x86/inclu... [2]: https://stackoverflow.com/a/60579385
    comment by sixthDot · 2024-08-26 · in Linux Pipes Are Slow
  13. …looking like the link above for OpenBSD. [0]: https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/ [1]: https://github.com/torvalds/linux
    comment by OJFord · 2024-08-24 · in We have reached OpenBSD of Theseus
  14. …a packet interface over which you can pass IP, no need for Ethernet emulation. Linux driver is here https://github.com/torvalds/linux/blob/master/drivers/net/th...
    comment by ignaloidas · 2024-08-17 · in RP2350 PicoDVI Preview
  15. I like that GitHub supports file-like suffixes to get different views of the same content. https://github.com/torvalds/linux/commit/{hash} https://github.com/torvalds/linux/commit/{hash}.patch https://github.com/torvalds/linux/commit/{hash}…
    comment by unglaublich · 2024-08-14 · in Examples of Great URL Design (2023)
  16. …license has an explicit excemption for binaries running under Linux. So it's not a great example. https://github.com/torvalds/linux/blob/master/LICENSES/excep...
    comment by actionfromafar · 2024-08-14 · in Why we picked AGPL
  17. …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
  18. …library supports reading the flags from a file, in case your appetite for flags is insatiable. https://github.com/torvalds/linux/commit/b6a2fea39318e43fee8...
  19. 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…
  20. 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
  21. …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…
  22. …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
  23. …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
  24. …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...
  25. …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…
  26. Line 593 https://github.com/torvalds/linux/blob/d67978318827d06f1c0fa...
  27. ▲ 1
    Call Flight Attendant Button in the Linux Kernal
    story by OuterVale · 2024-07-16 · 2 comments
  28. …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
  29. …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/...
  30. …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)
  31. ▲ 2
    drm/panic: Add a drm panic handler
    story by GalaxySnail · 2024-05-26 · 0 comments
  32. …is voodoo from the Promise driver. Label this entire section "TODO: figure out why we do this" ``` https://github.com/torvalds/linux/blob/0450d2083be6bdcd18c95...
  33. …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?
  34. This seems to be the relevant behaviour from ext4: https://github.com/torvalds/linux/blob/8c06da67d0bd3139a97f3...
  35. ▲ 2
    Doyensec – OOB memory read in Linux kernel
    story by tony-ds · 2024-05-07 · 0 comments
  36. ▲ 2
    Memory is cheap, new structs are a pain
    story by lopkeny12ko · 2024-05-05 · 0 comments
  37. …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)
  38. 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…
  39. …[2]: https://github.com/1fishe2fishe/EXODUS/blob/90f70386b8ac6bd0... [3]: https://github.com/torvalds/linux/blob/8f2c057754b25075aa3da...
  40. 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…
  41. …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....
  42. …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
  43. …what happened, the merge commit looks nothing like what you could make from GitHub (merging a tag). https://github.com/torvalds/linux/commit/8d7e76846521440255a...
  44. ▲ 9
    Linus Torvalds accepts a merge commit to the Linux kernel
    story by peter_l_downs · 2024-04-01 · 5 comments
  45. …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
  46. 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…
  47. …something against it? He notoriously hates GNU Emacs, yes. https://marc.info/?m=122955159617722 https://github.com/torvalds/linux/blob/master/Documentation/...
  48. …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
  49. …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
  50. …not kernel upstream. they won't take esync/fsync because those have some missing features. https://github.com/torvalds/linux/commit/a0eb2da92b715d0c97b...