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 kernel's cgroup writeback accounting features are enabled / disabled based on this code: https://github.com/torvalds/linux/blob/c291c9cfd76a8fb92ef3d...
  2. …a different board on a soc that already works? Welcome to the world of writing this kind of things: https://github.com/torvalds/linux/blob/master/arch/arm64/boo... and compiling the kernel from some dude's branch instead of going with…
  3. …if he feels like it. What he did, and this entire thread is about, is he resigned as a maintainer : https://github.com/torvalds/linux/commit/1b3291f00013c86a9bb... So the title is factually correct. But I wouldn't be surprised if he tries…
  4. …about your comment. It adds rust/kernel/dma.rs, not kernel/dma. That is, it adds that file here: https://github.com/torvalds/linux/tree/master/rust/kernel not here: https://github.com/torvalds/linux/tree/master/kernel/dma
  5. …but if I say that I run Linux, there’s an assumption that I’m running something compiled from https://github.com/torvalds/linux - I.e. there is a central space. I’ve used git and perforce in anger for a decade, in teams of 1 to 150+ (with…
    comment by maccard · 2025-02-05 · in Beej's Guide to Git
  6. Nitpick: There are actually a handful Rust drivers in-tree, e.g. https://github.com/torvalds/linux/blob/master/drivers/net/ph... Though, I think all of them are direct ports of existing drivers.
  7. …comment, it seems like it might sorta be supported in modern linux, possibly just read only though: https://github.com/torvalds/linux/tree/master/fs/befs
  8. …the intentions are the pull requests/issues around it. Take a single commit from the Linux kernel: https://github.com/torvalds/linux/commit/08bd5b7c9a2401faabd... It doesn't tell me "add function X, Y and boolean flag Z". It tells us…
  9. > Indeed where the DRM error message comes from https://github.com/torvalds/linux/blob/ffd294d346d185b70e28b ... That's for compact flash cards. Based on the kernel message from the StackExchange post we can tell it isn't a CF. So it's not…
  10. …ship with this enabled for movie content management. Indeed where the DRM error message comes from https://github.com/torvalds/linux/blob/ffd294d346d185b70e28b... > CPRM may make this media unusable CPRM? > Content Protection for…
  11. …command line parameter to be passed to allow issuing them. (kernel source reference: https://github.com/torvalds/linux/blob/v6.12/drivers/ata/lib... ), which has _nothing to do_ with the trusted platform module TPM, just another TLA clash.…
  12. …the linux kernel itself actually also looks for `/etc/init` before it even looks for `/bin/init` https://github.com/torvalds/linux/blob/4a5df37964673effcd9f8...
  13. …that didn't get added until they contributed support for the Deck controller in these drivers : https://github.com/torvalds/linux/blob/master/drivers/hid/hi...
  14. Including Linux kernel https://github.com/torvalds/linux/blob/master/include/linux/...
    comment by fuhsnn · 2025-01-06 · in C: Simple Defer, Ready to Use
  15. Final boss: https://github.com/torvalds/linux Error message: Repository is too large (>200k tokens) for analysis. Claude 3.5 Sonnet's max context length is 200k tokens. Current size: 1334798 tokens. Cool project though! Kudos!
  16. …working program that prints out the ASCII table [2] as part of my Ghidra extension test suite. [1] https://github.com/torvalds/linux/tree/master/tools/include/... [2] https://github.com/boricj/ghidra-delinker-extension/tree/mas...
    comment by boricj · 2024-12-26 · in A Simple ELF
  17. …PCs need a different one than the default in order to make sure everything is properly reset. [1]: https://github.com/torvalds/linux/blob/9b2ffa6148b1e4468d08f...
  18. It did not digest https://github.com/torvalds/linux ¯\_(ツ)_/¯
  19. …unaware of the recent cleanup attribute infrastructure submitted on the c side of the kernel: https://github.com/torvalds/linux/blob/master/include/linux/... Zig is a fun and interesting language in its own right, there’s really no need…
    comment by raggi · 2024-12-02 · in RAII and the Rust/Linux Drama
  20. …: static void check_hung_task(struct task_struct *t, unsigned long timeout) https://github.com/torvalds/linux/blob/9f16d5e6f220661f73b36... static void check_hung_uninterruptible_tasks(unsigned long timeout) https://github.com/torvald
  21. Read the source Luke: https://github.com/torvalds/linux/blob/master/drivers/tty/vt...
    comment by belter · 2024-11-21 · in ANSI Escape Sequences Cheatsheet
  22. …e.g. typedef int read_block_fn(void *context, u8 *buf, unsigned int block, size_t len); https://github.com/torvalds/linux/blob/0a9b9d17f3a781dea03ba...
    comment by khrbtxyz · 2024-11-14 · in C Gibberish to English
  23. …the syscall interface are not considered derivative works and that GPL does not apply to them: https://github.com/torvalds/linux/blob/master/LICENSES/excep...
    comment by unmole · 2024-11-07 · in Linux Syscall Support
  24. …OP. Their x64_64 arch support is here, which looks simple enough, putting things into registers: https://github.com/torvalds/linux/blob/master/tools/include/... The non-arch-specific callers which use this are here, which also look…
    comment by jwatzman · 2024-11-07 · in Linux Syscall Support
  25. …one to write C software that completely bypass libc, but instead directly operate through syscalls. https://github.com/torvalds/linux/tree/master/tools/include/... A sample use-case? I was developing an Erlang-like actor platform that…
    comment by sph · 2024-11-07 · in Linux Syscall Support
  26. 29 patches: https://github.com/torvalds/linux/compare/master...edera-dev...
  27. Curiously, I can't find this message in recent kernels, it was patched out in 2018: https://github.com/torvalds/linux/commit/9d7c249a1ef9bf0d569... . Is it being re-added by distros or something? In terms of how it causes the issue, I…
  28. …it did have a copyright header, but certainly not one that included a record of every change. https://github.com/torvalds/linux/blob/master/init/calibrate... So it doesn't look like this is peculiar to v2. But it does seem like people…
  29. I'm reasonably confident that it is upstream: https://github.com/torvalds/linux/blob/master/drivers/androi... looks like the most obvious bit, though there are other pieces. (And now I'm curious why waydroid is maintaining their own dkms…
  30. …of other sus entries and pushed the commit. It's painfully obvious if you take a look at the file https://github.com/torvalds/linux/blob/master/MAINTAINERS , there are no mail.ru addresses left (it's a public email service akin to gmail).…
  31. https://github.com/torvalds/linux/commit/6e90b675cf942e50c70...
  32. https://github.com/torvalds/linux/commit/6e90b675cf942e50c70...
  33. …sources of this library [0] but the general syscall exception [1] may or may not apply. [0] e.g. https://github.com/torvalds/linux/blob/master/arch/x86/entry... [1] https://github.com/torvalds/linux/blob/master/LICENSES/excep...
  34. The file is groups.c from the Linux Kernel, circa sometime before 2015: https://github.com/torvalds/linux/blob/8f6c5ffc8987f4f5b5a3e...
    comment by BoppreH · 2024-10-18 · in Hacker Typer
  35. 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
  36. …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...
  37. …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…
  38. …Currently Linux still follows RFC6928 and defaults to initcwnd=10 : https://github.com/torvalds/linux/blob/v6.11/include/net/tcp...
  39. …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…
  40. …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.
  41. Maybe related to this? https://github.com/torvalds/linux/blob/master/tools/thermal/...
  42. …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
  43. …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
  44. …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
  45. …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
  46. …(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
  47. …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
  48. …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
  49. 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)
  50. …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