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 driver used as inspiration is fully opensource https://github.com/torvalds/linux/tree/v6.18/drivers/net/wir... I don't know why it has not been brought in the BSDs (maybe license), but they do are a bit more careful with what they…
comment by skydhash · 2026-02-23 · in FreeBSD doesn't have Wi-Fi driver for my old MacBook, so AI built one for me -
▲ 2
Linux Kernel Project Continuitystory by zdw · 2026-01-29 · 0 comments
-
…out of order, so sometimes an lfence (previously cpuid) can be used and there is also rdtscp See https://github.com/torvalds/linux/blob/master/arch/x86/inclu... And just because rdtsc is constant doesn't mean the processor clock will be…
comment by rdtsc · 2026-01-28 · in Spinning around: Please don’t – Common problems with spin locks -
▲ 2
Linux kernel community has a contingency plan to replace Linus Torvaldsstory by speckx · 2026-01-28 · 1 comment
-
▲ 18
GitHub Is Downstory by dfajgljsldkjag · 2026-01-15 · 16 comments
-
…take up a lot of space compared to other areas. Just look at the mass of AMD template garbage here: https://github.com/torvalds/linux/tree/master/drivers/gpu/dr...
comment by Y_Y · 2026-01-11 · in Gentoo Linux 2025 Review -
…kernel back in November.[2] [1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38... [2] https://github.com/torvalds/linux/commit/01ff3bf272156615d6c...
comment by aseipp · 2026-01-10 · in Diving into Qualcomm's Upcoming Adreno X2 GPU with Eric Demers -
How does this compare to the Amiga filesystem support built in to the Linux Kernel? https://github.com/torvalds/linux/blob/master/fs/affs/Kconfi... It looks like it shoehorns proprietary binary blobs into Linux, but what is missing from…
comment by trelane · 2026-01-08 · in Native Amiga Filesystems on macOS / Linux / Windows with FUSE -
▲ 9
I don't do GitHub pull requests – Linus Torvaldsstory by Fiveplus · 2025-12-27 · 6 comments
-
Looks like from https://github.com/torvalds/linux/archive/refs/heads/master.... but you could also try Ubuntu.
comment by dullcrisp · 2025-12-21 · in I can't upgrade to Windows 11, now leave me alone -
…requests will fail with preemptive OOMs. (e.g. postgresql servers typically disable overcommit) - https://github.com/torvalds/linux/blob/master/mm/util.c#L753
comment by vin10 · 2025-12-19 · in Vm.overcommit_memory=2 is the right setting for servers -
…exclusive access to a list won't stop you from adding the same element to multiple lists. [0]: https://github.com/torvalds/linux/blob/3e0ae02ba831da2b70790...
comment by aw1621107 · 2025-12-17 · in Linux Kernel Rust Code Sees Its First CVE Vulnerability -
…code organization would have eliminated the need for the unsafe block in this specific case. [0]: https://github.com/torvalds/linux/blob/3e0ae02ba831da2b70790...
comment by aw1621107 · 2025-12-17 · in Linux Kernel Rust Code Sees Its First CVE Vulnerability -
…}; } needs_queueing } [0]: https://lore.kernel.org/linux-cve-announce/2025121614-CVE-20... [1]: https://github.com/torvalds/linux/commit/3e0ae02ba831da2b707... [2]: https://github.com/torvalds/linux/blob/3e0ae02ba831da2b70790... [3]:…
comment by aw1621107 · 2025-12-17 · in Linux Kernel Rust Code Sees Its First CVE Vulnerability -
…init= option to kernel."[2] 1: https://github.com/archlinux/mkinitcpio/blob/2dc9e12814aafcc... 2: https://github.com/torvalds/linux/blob/d358e5254674b70f34c84...
comment by kmm · 2025-12-11 · in Booting Linux in QEMU and Writing PID 1 in Go to Illustrate Kernel as Program -
…hard to write. Mostly Rust has been used for drivers so far. Here's the first Rust driver I found: https://github.com/torvalds/linux/blob/2137cb863b80187103151... It has one trivial use of `unsafe` - to support Send & Sync for a type - and…
comment by IshKebab · 2025-12-10 · in Rust in the kernel is no longer experimental -
…Zig community lead going off about RAII before and making claims like "linux would never do this" ( https://github.com/torvalds/linux/blob/master/include/linux/... ). There are bad cases of RAII APIs for sure, but it's not all bad. Andrew…
comment by raggi · 2025-12-04 · in Thoughts on Go vs. Rust vs. Zig -
…either, look at the Linux kernels PRs, it's almost all spam. Why on earth can't PRs be disabled? https://github.com/torvalds/linux/pulls?q=is%3Apr+is%3Aclose...
comment by 8organicbits · 2025-12-03 · in Zig quits GitHub, says Microsoft's AI obsession has ruined the service -
There is a C API. man landlock_add_rule for example. https://github.com/torvalds/linux/blob/master/include/uapi/l... you can add simple one-line wrappers if you don't like using syscall() function.
comment by megous · 2025-11-30 · in Landlock-Ing Linux -
…not just calling syscall() with a magic number: https://docs.kernel.org/userspace-api/landlock.html https://github.com/torvalds/linux/blob/6bda50f4/include/uapi... https://github.com/torvalds/linux/blob/6bda50f4/include/linu...
comment by wging · 2025-11-30 · in Landlock-Ing Linux -
…the Linux repo are quite terrible. At least there's a bot to auto-reply with the correct procedure. https://github.com/torvalds/linux/pull/1370
comment by 8organicbits · 2025-11-27 · in Migrating the main Zig repository from GitHub to Codeberg -
It is strange, cursory digging for an explanation was a little more complex than I bargained for... https://github.com/torvalds/linux/blob/v6.17/fs/binfmt_scrip... I think it makes it to calling open_exec but there's a test for…
comment by opello · 2025-11-20 · in A surprise with how '#!' handles its program argument in practice -
…part of same sentence. The latter one (goto) is routinely used by linux devs (random example: https://github.com/torvalds/linux/blob/master/fs/ext4/balloc... ) > we just stop using it. We minimise/restrict the usage.
comment by lucketone · 2025-11-16 · in When did people favor composition over inheritance? -
Have a look at X1E devicetree in Linux kernel source ( https://github.com/torvalds/linux/tree/master/arch/arm64/boo... all the way to the bottom). There are some models that have a very active development and an almost complete support by…
comment by cromka · 2025-11-15 · in Linux on the Fujitsu Lifebook U729 -
▲ 1
The Rockchip calendar used by the RK808 counts November with 31 days (2015)story by riffraff · 2025-11-12 · 0 comments
-
▲ 2
Rtc: Rk808: Compensate for Rockchip calendar deviation on November 31ststory by birdculture · 2025-11-11 · 0 comments
-
That's right! https://lwn.net/Articles/631631/ https://github.com/torvalds/linux/blob/master/fs/binfmt_elf.... Especially relevant for dynamic linkers is the AT_PHDR and AT_BASE auxiliary vector entries which provide the address of the…
comment by matheusmoreira · 2025-10-26 · in The Journey Before main() -
…The kernel has their own nolibc infrastructure now, no doubt much better than my project. https://github.com/torvalds/linux/tree/master/tools/include/... I encourage everyone to use it. Note also that _start is an arbitrary symbol. The…
comment by matheusmoreira · 2025-10-26 · in The Journey Before main() -
…to filters on the commit date, not the author date. Broken link points here and shows no commits: https://github.com/torvalds/linux/commits?author=vkoskiv&sin... If I correct the date range to include the maintainer commit date (May 15th),…
comment by vkoskiv · 2025-10-20 · in My first contribution to Linux -
https://github.com/torvalds/linux/pull/1355
comment by throwawaylnx · 2025-10-15 · in GitHub Bans Vmfunc -
▲ 1
I am new to GitHub and I have a lot to saystory by surprisetalk · 2025-09-29 · 0 comments
-
▲ 15
Linux: Make the Kernel Cutestory by sergiotapia · 2025-09-22 · 15 comments
-
…to fix the bug but never did. It also contains quirks for Intel x86 core platform features: https://github.com/torvalds/linux/blob/master/arch/x86/kerne... For the now-fashionable LLMs-on-GPUs world, it's pretty much just matrix…
comment by yencabulator · 2025-09-17 · in AMD Open Source Driver for Vulkan project is discontinued -
…to be superior to Github's and once complained about the latter on Github itself [1]. [1] https://github.com/torvalds/linux/pull/17#issuecomment-56546...
comment by goku12 · 2025-09-06 · in Let us git rid of it, angry GitHub users say of forced Copilot features -
…error = old_dir->i_op->rename(rd->new_mnt_idmap, old_dir, old_dentry, new_dir, new_dentry, flags); https://github.com/torvalds/linux/blob/master/fs/namei.c#L51... That is a close match for the first example, with additional arguments. It…
comment by ryao · 2025-08-27 · in Object-oriented design patterns in C and kernel development -
…https://github.com/openbsd/src/blob/master/sys/arch/amd64/am... 3. Relevant Linux kernel code: https://github.com/torvalds/linux/blob/master/arch/x86/kerne... , https://github.com/torvalds/linux/blob/master/arch/x86/kerne... 4. Linux…
comment by wahern · 2025-08-18 · in OpenBSD is so fast, I had to modify the program slightly to measure itself -
The latest kernel as of today still supports the 486SX ! ( https://github.com/torvalds/linux/blob/v6.17-rc1/arch/x86/Kc... )
comment by matja · 2025-08-14 · in Debian 13 “Trixie” -
…even refuses to parse many them: https://kernel.googlesource.com/pub/scm/linux/kernel/git/tor... https://github.com/torvalds/linux/blob/master/drivers/gpu/dr... The last file in nbio is a header file with 38900 lines — a single file of…
comment by cnst · 2025-08-07 · in 79% of OpenBSD kernel source is AMD DRM -
https://github.com/torvalds/linux/blob/master/drivers/gpu/dr... 11k lines of #defines Is this truly necessary?
comment by Y_Y · 2025-08-07 · in 79% of OpenBSD kernel source is AMD DRM -
…NOT compiled code. It's a huge part of Linux, too, over at drivers/gpu/drm/amd/include/asic_reg : https://github.com/torvalds/linux/tree/master/drivers/gpu/dr... In OpenBSD, the last release before the explosive growth, was OpenBSD 6.5…
comment by cnst · 2025-08-07 · in 79% of OpenBSD kernel source is AMD DRM -
…folio for a whole set of pages, so moving the data there will save a significant amount of memory. https://github.com/torvalds/linux/blob/89be9a83ccf1f88522317...
comment by tux3 · 2025-07-22 · in Losing language features: some stories about disjoint unions -
struct page in Linux is this taken to its logical conclusion. https://github.com/torvalds/linux/blob/89be9a83ccf1f88522317... Edit: A bit of background: https://lwn.net/Articles/565097/
comment by rwmj · 2025-07-22 · in Losing language features: some stories about disjoint unions -
…changes in the commit messages: - https://docs.kernel.org/process/submitting-patches.html#desc... - https://github.com/torvalds/linux/blob/master/Documentation/... - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin... Git's own…
comment by andrybak · 2025-07-04 · in A Higgs-Bugson in the Linux Kernel -
…me: it made me think about ways I could reinvent email. [1] https://github.com/openssl/openssl [2] https://github.com/torvalds/linux
comment by dvt · 2025-07-01 · in Why email startups fail -
…some of these C programs: https://github.com/nodejs/node https://github.com/mozilla-firefox/firefox https://github.com/torvalds/linux https://github.com/python/cpython
comment by mrkeen · 2025-06-28 · in Uncle Sam wants you – to use memory-safe programming languages -
Yeah, it's very easy. Real devices usually adhere to the specs.. only very few exceptions: https://github.com/torvalds/linux/blame/master/drivers/hid/h... .. /s
comment by eMPee584 · 2025-06-22 · in Asterinas: A new Linux-compatible kernel project -
…the kernel’s internal ABI and API is constantly changing. There is some documentation on why here: https://github.com/torvalds/linux/blob/master/Documentation/...
comment by winter_blue · 2025-06-20 · in Microsoft Is Deleting Old Drivers from Windows Update and It Might Break Your PC -
…most of it seems to be down to a single commit that removed repeated usage of fuck from one file: https://github.com/torvalds/linux/commit/a44d924c81d43ddffc9...
comment by Denvercoder9 · 2025-06-16 · in Occurences of swearing in the Linux kernel source code over time -
…of “Firefox Moves to GitHub”? It could be a mirror, just like Linux also has an mirror on GitHub. https://github.com/torvalds/linux // EDIT: Source: https://news.ycombinator.com/item?id=43970574
comment by mritzmann · 2025-05-13 · in Mozilla Firefox – Official GitHub repo -
…board. So what happens is that Armbian ship a different image for each board. If you go and look in https://github.com/torvalds/linux/tree/master/arch/arm you see a zillion "mach-xxx" directories for different SoC architectures, even if…
comment by ajb · 2025-05-12 · in Armbian Updates: OMV support, boot improvents, Rockchip optimizations