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
20082026
-
…the kernel's cgroup writeback accounting features are enabled / disabled based on this code: https://github.com/torvalds/linux/blob/c291c9cfd76a8fb92ef3d...
comment by dasl · 2025-02-14 · in Linux kernel cgroups writeback high CPU troubleshooting -
…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…
comment by Muromec · 2025-02-09 · in RISC-V Mainboard for Framework Laptop 13 is now available -
…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…
comment by tredre3 · 2025-02-08 · in Asahi Linux lead developer Hector Martin resigns from Linux kernel -
…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
comment by steveklabnik · 2025-02-07 · in Hector Martin – [Patch] Maintainers: Remove Myself -
…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 -
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.
comment by Dagonfly · 2025-02-04 · in Resistance to Rust abstractions for DMA mapping -
…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
comment by buildbot · 2025-01-23 · in TMSU: Command-line tool for applying tags and viewing virtual tagged filesystem -
…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…
comment by Draiken · 2025-01-23 · in Ask HN: Is anyone doing anything cool with tiny language models? -
> 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…
comment by bdd · 2025-01-20 · in What does "supports DRM and may not be fully accessible" mean for SATA SDDs? -
…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…
comment by Maxious · 2025-01-20 · in What does "supports DRM and may not be fully accessible" mean for SATA SDDs? -
…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.…
comment by bdd · 2025-01-20 · in What does "supports DRM and may not be fully accessible" mean for SATA SDDs? -
…the linux kernel itself actually also looks for `/etc/init` before it even looks for `/bin/init` https://github.com/torvalds/linux/blob/4a5df37964673effcd9f8...
comment by NekkoDroid · 2025-01-13 · in The history and use of /etc/glob in early Unixes -
…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...
comment by ThatPlayer · 2025-01-08 · in Lenovo Officially Announces the Legion Go S Handheld with SteamOS -
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 -
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!
comment by Minervaskell · 2024-12-27 · in Show HN: Instantly visualize any codebase as an interactive diagram -
…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 -
…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...
comment by kyrofa · 2024-12-25 · in When power cycling your (x86) server isn't enough to recover it -
It did not digest https://github.com/torvalds/linux ¯\_(ツ)_/¯
comment by dim13 · 2024-12-06 · in Show HN: Replace "hub" by "ingest" in GitHub URLs for a prompt-friendly extract -
…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 -
…: 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
comment by westurner · 2024-11-24 · in Linux 6.13 will report the number of hung tasks since boot -
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 -
…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 -
…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 -
…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 -
…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 -
29 patches: https://github.com/torvalds/linux/compare/master...edera-dev...
comment by transpute · 2024-11-04 · in HardenedBSD Feature Comparison with OpenBSD, FreeBSD, NetBSD -
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…
comment by rcxdude · 2024-10-28 · in Debugging audio artifacts caused by... a serial port? -
…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…
comment by tempfile · 2024-10-28 · in GoLic, injects license into source code files -
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…
comment by yjftsjthsd-h · 2024-10-28 · in NewPipe on Linux, Using Android_translation_layer -
…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).…
comment by joric · 2024-10-27 · in On Linux MAINTAINERS file removal of Russian developers -
https://github.com/torvalds/linux/commit/6e90b675cf942e50c70...
comment by leoh · 2024-10-23 · in Several Russian developers lose kernel maintainership status -
https://github.com/torvalds/linux/commit/6e90b675cf942e50c70...
comment by leoh · 2024-10-23 · in Linus Torvalds comments on the Russian Linux maintainers being delisted -
…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...
comment by account42 · 2024-10-21 · in Winamp deletes entire GitHub source code repo after a rocky few weeks -
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 -
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 -
…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...
comment by jsheard · 2024-10-18 · in C++ proposal: There are exactly 8 bits in a byte -
…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…
comment by matheusmoreira · 2024-10-16 · in Winamp deletes entire GitHub source code repo after a rocky few weeks -
…Currently Linux still follows RFC6928 and defaults to initcwnd=10 : https://github.com/torvalds/linux/blob/v6.11/include/net/tcp...
comment by divbzero · 2024-10-07 · in How do HTTP servers figure out Content-Length? -
…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…
comment by PhilipRoman · 2024-10-05 · in 炊紙(kashikishi) is a text editor that utilizes GPU to edit text in a 3D space -
…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.
comment by c0l0 · 2024-09-15 · in Defend against vampires with 10 gbps network encryption -
Maybe related to this? https://github.com/torvalds/linux/blob/master/tools/thermal/...
comment by ewalk153 · 2024-09-14 · in My 71 TiB ZFS NAS After 10 Years and Zero Drive Failures -
…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 -
…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 -
…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 -
…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 -
…(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 -
…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 -
…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 -
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) -
…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