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 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…
comment by foul · 2024-01-24 · in Tell HN: GitHub no longer readable without JavaScript -
…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…
comment by jeroenhd · 2024-01-17 · in PixieFail: Nine Vulnerabilities UEFI Implementations -
▲ 4
Linux/list.h: Circular doubly linked list implementationstory by seansh · 2024-01-12 · 1 comment
-
…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 -
…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 -
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 -
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) -
…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) -
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…
comment by rdtsc · 2023-12-20 · in Uniting the Linux random-number devices (2022) -
The RDRAND instruction usage is configurable https://github.com/torvalds/linux/blob/master/Documentation/... edit: https://github.com/torvalds/linux/blob/55cb5f43689d7a9ea5bf3...
comment by goalieca · 2023-12-20 · in Uniting the Linux random-number devices (2022) -
…([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 -
…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 -
…unaligned. #define unaligned(P) (((struct { typeof(*(P)) x; } __attribute__((packed))*)(P))->x) [0] https://github.com/torvalds/linux/blob/7b9e664beb237d90bc600...
comment by mlochbaum · 2023-11-30 · in Unaligned accesses in C/C++: what, why and solutions to do it properly -
…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 -
Everything is a website these days. Even code commits. https://github.com/torvalds/linux/commits.atom
comment by bhaak · 2023-11-20 · in RSS can be used to distribute all sorts of information -
▲ 3
Kernel 6.7-rc2 release – torvalds/Linuxstory by neustradamus · 2023-11-20 · 1 comment
-
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…
comment by anotherhue · 2023-11-16 · in The push to save the Itanium architecture in Linux -
…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...
comment by zygentoma · 2023-11-14 · in The Linux kernel has been accidentally hardcoded to a maximum of 8 cores -
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 -
…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 -
…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 -
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...
comment by wrs · 2023-10-31 · in Reverse-engineering Ethernet backoff on the Intel 82586 network chip's die -
…creation of hardlinks to files you don't own. It's on by default on all machines I checked though. https://github.com/torvalds/linux/commit/800179c9b8a1e796e44... Without this, a whole lot of attacks are possible with hardlinks.
comment by remram · 2023-10-13 · in The Quest to Secure chown and symlinks -
…lspci is a realtek express card reader whose driver is copyrighted by Realtek Semiconductor Corp: https://github.com/torvalds/linux/blob/master/drivers/misc/c... Have Apple engineers written a single line of code for linux drivers…
comment by prmoustache · 2023-09-19 · in Linux on a MacBook Pro (M1 Pro): How Good Is Asahi Now? -
…When loading a shared library, you also dispatch to a binfmt via the `uselib`[3] syscall. [0] https://github.com/torvalds/linux/blob/9fdfb15a3dbf818e06be5... [1] https://github.com/torvalds/linux/blob/9fdfb15a3dbf818e06be5... [2]…
comment by emidln · 2023-09-15 · in How does Linux start a process -
…from 6.1 to now. Many of those commits are laying the groundwork for the next few years. [0] https://github.com/torvalds/linux/compare/master...Rust-for-... [1] https://lpc.events/event/16/contributions/1180/attachments/1...
comment by nevi-me · 2023-09-12 · in Ask HN: How is Rust used in the Linux kernel today? -
…between vsock and UDS. [1] In recent kernel versions, sockmap also has vsock translation: < https://github.com/torvalds/linux/commit/5a8c8b72f65f6b80b52... > This allows for a sort of UDS "transparency" between guest and host. When the…
comment by coppsilgold · 2023-09-11 · in Unix Domain Sockets vs Loopback TCP Sockets (2014) -
…DE, and not necessarily be forced to configure that for every single application individually. [0]: https://github.com/torvalds/linux/blob/4a0fc73da97efd23a383c...
comment by dzaima · 2023-09-07 · in Wayland Isn't Going to Save the Linux Desktop (2022) -
…so surely more could. [0]: https://wayland.app/protocols/wayland#wl_pointer:event:butto... [1]: https://github.com/torvalds/linux/blob/4a0fc73da97efd23a383c...
comment by dzaima · 2023-09-07 · in Wayland Isn't Going to Save the Linux Desktop (2022) -
…checks. I must point out the corresponding comment in loadavg.c which is required reading: https://github.com/torvalds/linux/blob/b97d64c722598ffed42ec... The parent's concept of reporting "hotness" is really powerful. It lets a central…
comment by xyzzy_plugh · 2023-08-31 · in Random Load Balancing Is Unevenly Distributed -
…contains lots of code to work around a myriad of EDID quirks (and loads of other HW quirks), too: https://github.com/torvalds/linux/blob/master/drivers/gpu/dr... There certainly isn't any big philosophical point to make here, Linux doesn't…
comment by sho_hn · 2023-08-30 · in Hacking the LG Monitor's EDID -
…had this procedure (to load EDID overrides from /lib/firmware) since forever. Introduced in 2012 by https://github.com/torvalds/linux/commit/da0df92b57311aa1b26... , current doc is in https://github.com/torvalds/linux/blob/872459663c52f5e8a…
comment by Arnavion · 2023-08-30 · in Hacking the LG Monitor's EDID -
…plus syscall exception? This sounds unbelievable. When one checks the wording of the "exception", https://github.com/torvalds/linux/blob/master/LICENSES/excep... it says > NOTE! This copyright does not cover user programs that use kernel…
comment by nextaccountic · 2023-08-30 · in Making life (even) harder for proprietary modules -
It's quite trivial actually. It's just `make deb-pkg`. It may complain about a cert. https://github.com/torvalds/linux/blob/master/scripts/packag...
comment by mise_en_place · 2023-08-25 · in Stable Linux mainline builds for Ubuntu -
…on those, but just disables it if native unaligned load/store is configured - last paragraph of https://github.com/torvalds/linux/blob/706a741595047797872e6... At present there's almost no reliance on this UB by compilers on something that…
comment by dzaima · 2023-08-20 · in GCC always assumes aligned pointer accesses (2020) -
The kernel is certainly mirrored on GitHub[0], but it's not the centre of development. [0] - https://github.com/torvalds/linux
comment by mr_sturd · 2023-08-16 · in Ask HN: Why Linux development happens on mailing list instead of Git? -
…lines, no signed-off line, etc. Linus simply refuses to let those kind of commits into the Kernel. https://github.com/torvalds/linux/pull/17#issuecomment-56546...
comment by dikei · 2023-08-16 · in Ask HN: Why Linux development happens on mailing list instead of Git? -
…every single commit to the Linux kernel has been made by a Github user, but there is a mirror at https://github.com/torvalds/linux .
comment by rectang · 2023-08-14 · in Today I realized I now trust Microsoft more than Google. What is happening? -
"Attempted to kill init!" https://github.com/torvalds/linux/blob/0b5547c51827e053cc754...
comment by rzzzt · 2023-07-25 · in Got called to a professor’s office after a complaint his SPARC4 was running slow -
…the call site of the "objectionable" function and the site at which the issue gets detected: < https://github.com/torvalds/linux/blob/master/fs/file.c#L174... >. At both ends, there's a comment that says "Hey, it's faster to do this check…
comment by simoncion · 2023-07-21 · in Good code is like a love letter to the next developer who will maintain it -
> there is no such thing as good code definitely not true. this is good code: https://github.com/torvalds/linux/blob/master/fs/file.c this is good code: https://github.com/golang/go/blob/master/src/strconv/atoc.go its formatted, commented,…
comment by 38 · 2023-07-20 · in Good code is like a love letter to the next developer who will maintain it -
…mainline/upstream in linux. This is surprisingly hard to get a good citation for, but see ex. https://github.com/torvalds/linux/blob/master/arch/arm64/boo... which is device tree stuff for... honestly the code names confuse me, but I think…
comment by yjftsjthsd-h · 2023-07-20 · in ChromiumOS Developer Guide, Programming languages and style -
▲ 5
Linus Torvalds: "MAINTAINERS 2: Electric Boogaloo"story by Svetlitski · 2023-07-10 · 1 comment
-
…commits, so apparently Linux is within an order of magnitude of bringing GitHub to it's knees? [0] https://github.com/torvalds/linux
comment by BeefySwain · 2023-07-02 · in Disabled at 22 million commits -
…Regurgitation isn't a particularly rare thing with LLMs, most cases just aren't this obvious. [1] https://github.com/torvalds/linux/blob/c6b0271053e7a5ae57511...
comment by AlotOfReading · 2023-06-29 · in Gitlab’s AI-assisted code suggestions -
https://github.com/torvalds/linux seems fine w/ the modules & config files sharing the top level folder. Sorting directories to the top helps.
comment by benatkin · 2023-06-26 · in The .meta directory: let's tidy things up