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
-
It is still there: https://github.com/torvalds/linux/tree/master/arch/um
comment by mcculley · 2022-11-09 · in What chroot taught me about containers -
…Sept 18. Userspace fix: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests... Kernel fix: https://github.com/torvalds/linux/commit/26b1d3b527e7 I'm unclear on why this is being sold as "no one maintains X11" and not "the kernel…
comment by gpm · 2022-11-07 · in Linux Kernel Has Been Forcing Different Behavior for Processes Starting with “X” -
…I saw there is at least one example of commentary to go along with a struct: https://sourcegraph.com/github.com/torvalds/linux/-/blob/dri...
comment by mdaniel · 2022-11-04 · in Testing Microsoft's Windows Dev Kit 2023 -
…communication breakthroughs and controls, Deep Space Networking needs a new TCP, as well: From https://github.com/torvalds/linux/blob/master/net/ipv4/tcp_t... : void tcp_retransmit_timer(struct sock *sk) { /* Increase the timeout each time…
comment by westurner · 2022-11-01 · in We need a replacement for TCP in the datacenter [pdf] -
…in the instructions for the Surface. Support for the Qualcomm chip did land in v6.0 of the Kernel - https://github.com/torvalds/linux/commit/b6a6535b339776d32fa... I just had mine arrive today, which I wanted to enroll as an ARM64 build…
comment by alexellisuk · 2022-10-27 · in Available Today: Windows Dev Kit 2023 a.k.a. Project Volterra -
https://github.com/torvalds/linux/blob/d47136c2801540e80f41e...
comment by nathants · 2022-10-23 · in Linux: What Can You Epoll? -
…your linux kernel patch accepted by emailing it to the responsible maintainer, it will end up on https://github.com/torvalds/linux . But you never agreed to the Github ToS, all you did was agree to publish it under the GPLv2. Linus agreed…
comment by wongarsu · 2022-10-17 · in GitHub Copilot investigation -
…( https://news.ycombinator.com/item?id=8434128 , https://www.cs.earlham.edu/~dusko/cs63/fdiv.html , https://github.com/torvalds/linux/blob/v5.9/arch/x86/kernel/... ) and so on
comment by tomrod · 2022-10-14 · in A modern Fortran scientific programming ecosystem -
> The official repo is under his personal account at github.com/torvalds/linux I think you mean https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
comment by account42 · 2022-10-11 · in Blender: Wayland Support on Linux -
…of contributing to his kernel, his trademark, for free? The official repo is under his personal account at github.com/torvalds/linux And regular for profit companies aren't incompatible with Linux. Canonical, Red Hat, etc. make billions…
comment by sph · 2022-10-11 · in Blender: Wayland Support on Linux -
> Is NILFS not part of the kernel mainline, I guess? Good guess, but no: https://github.com/torvalds/linux/tree/master/fs/nilfs2 > How did Linus not go on a rampage after breaking userspace for an entire year? I would very much like to…
comment by yjftsjthsd-h · 2022-10-11 · in Linux NILFS file system: automatic continuous snapshots -
…unlike kpatch. It's the same. For example https://ubuntu.com/security/livepatch/docs/faq links to https://github.com/torvalds/linux/blob/master/Documentation/... .
comment by rlpb · 2022-10-06 · in Ubuntu Pro -
…structure code in Linux I really liked and thought it was the best implementation I have seeen: https://github.com/torvalds/linux/blob/master/include/linux/...
comment by badrabbit · 2022-08-30 · in Ask HN: What's a small example of some of the best code ever written? -
…A few examples of projects with better commit messages: Linux kernel: https://github.com/torvalds/linux/commits/master gcc: https://github.com/gcc-mirror/gcc/commits/master Perl: https://github.com/Perl/perl5/commits/blead Wayla
comment by greaterthan3 · 2022-08-28 · in I like Odin -
…found out the Linux kernel itself has a superior nolibc library that they use for their own tools: https://github.com/torvalds/linux/tree/master/tools/include/... It used to be a single header but it looks like they've recently organized…
comment by matheusmoreira · 2022-08-16 · in Win32 Is the Only Stable ABI on Linux? -
…developing it anymore though because I found out the kernel itself has a superior nolibc library: https://github.com/torvalds/linux/tree/master/tools/include/... It used to be a single header but it looks like they've recently organized it…
comment by matheusmoreira · 2022-08-15 · in Oasis: Small statically-linked Linux system -
…doesn’t scale; What about these projects? https://github.com/redis/redis/blob/unstable/src/Makefile https://github.com/torvalds/linux/blob/master/Makefile
comment by sjaak · 2022-08-01 · in A Tutorial on Portable Makefiles (2017) -
…blindly assumed was because the kernel had entered an infinite loop. This turns out to be the case: https://github.com/torvalds/linux/blob/cbe232ab07ab7a1c7743c... There are references to interacting with kgdb, booting a crash kernel, and…
comment by exikyut · 2022-07-25 · in Ask HN: What are the best programming tricks you know? -
The commit references this in the "Fixes" tag: https://github.com/torvalds/linux/commit/7d7402642eaf385aef0... That's a commit from 2015
comment by megous · 2022-07-21 · in A Crack in the Linux Firewall -
…either uses a separate file written in assembly (.S file) or inline assembly that GCC understands. https://github.com/torvalds/linux/blob/ce990f1de0bc6ff3de43d... https://github.com/torvalds/linux/blob/35e43538af8fd2cb39d58...
comment by deckard1 · 2022-07-18 · in Does a compiler use all x86 instructions? (2016) -
…developers can use either. The sample code is mostly just lifted from other places (such as https://github.com/torvalds/linux/blob/master/samples/vfio-m ...), so useless you're better off reading the source (…
comment by ArcVRArthur · 2022-07-06 · in GVM: A GPU Virtual Machine for IOMMU-Capable Computers -
…developers can use either. The sample code is mostly just lifted from other places (such as https://github.com/torvalds/linux/blob/master/samples/vfio-m... ), so useless you're better off reading the source (…
comment by evol262 · 2022-07-06 · in GVM: A GPU Virtual Machine for IOMMU-Capable Computers -
…like linux that don't accept PRs on github and swear on sending patches. Obligatory Linus Rant: https://github.com/torvalds/linux/pull/17#issuecomment-56546...
comment by Anunayj · 2022-07-02 · in Kyoto project is moving from GitHub to Sourcehut -
Roll up! Roll up! Decode your Intel model/"stepping" (model/version) into a precise SKU name here: https://github.com/torvalds/linux/blob/master/arch/x86/inclu... No, I do not know why every single ICELAKE processor is commented as Sunny…
comment by gorgoiler · 2022-06-27 · in Linux commands for advanced hardware and system info -
…[3]. How come that the licensing in such a way is possible with the Linux licensing rules? [1] https://github.com/torvalds/linux/blob/master/Documentation/... [2] https://github.com/Rust-for-Linux/linux/blob/rust/rust/alloc... [3]…
comment by jokabrink · 2022-06-27 · in Memory safety for the world’s largest software project -
…The check has been removed in recent kernels, so I had to go back in history a bit to find it. https://github.com/torvalds/linux/blob/521cb40b0c44418a4fd36...
comment by avian · 2022-06-27 · in What does an idle CPU do? (2014) -
…handle the EINTR when calling write() in the printf and echo builtins. [2] https://github.com/torvalds/linux/blob/ca1fdab7fd27eb069df13... Q: what's up with this '/bin/echo' ? A: bash's builtin 'echo' command does not check calls to
comment by alipitch · 2022-06-22 · in Effective Shell -
The Linux kernel uses chained hash tables in many places. https://github.com/torvalds/linux/blob/master/include/linux/...
comment by jlokier · 2022-06-20 · in Advancing the state of the art for std:unordered_map implementations -
…C code. E.g., just a cherry-picked file from Linux: kernel/sched/core.c is over 11k lines. https://github.com/torvalds/linux/blob/master/kernel/sched/c...
comment by jvolkman · 2022-06-10 · in Important PostgreSQL 14 update to avoid silent corruption of indexes -
…be fixed in 5.18, but I didn't verify as I haven't had much reason to use suspend lately. [1]: https://github.com/torvalds/linux/commit/dfbba2518aac4204203...
comment by Beltalowda · 2022-05-26 · in splice() and the ghost of set_fs() -
https://github.com/torvalds/linux/tree/master/scripts
comment by drchickensalad · 2022-05-25 · in GameShell: A game to learn or teach the Unix shell -
…not, I just haven't read anything). [0] https://github.com/jvm-profiling-tools/perf-map-agent [1] https://github.com/torvalds/linux/blob/master/tools/perf/Doc...
comment by brancz · 2022-05-17 · in Wazero: The zero dependency WebAssembly runtime for Go developers -
▲ 2
TODOs in Linux Codebasestory by amjd · 2022-05-03 · 0 comments
-
…low bits of a pointer aligned to 2^n bytes. If you run out of bits there, not much you can do. [0] https://github.com/torvalds/linux/blob/master/include/linux/...
comment by isogon · 2022-05-02 · in The $440M software error at Knight Capital (2019) -
No. https://github.com/torvalds/linux https://referencesource.microsoft.com/ https://github.com/redis/redis I am sure there are lots of others.
comment by mikequinlan · 2022-04-30 · in Ask HN: Is all code crap? -
…to commits don't include the branch (and the way git works, commits don't really have "a branch"): https://github.com/torvalds/linux/commit/ac632c504d0b881d7cf... >With "git log --format=oneline | cut -b 1-4 | uniq -c | sort -n | tail…
comment by faho · 2022-04-29 · in Git.io deprecation: Active links to be maintained in a read-only state -
I'd rather use a tag, e.g. https://github.com/torvalds/linux/blob/v5.18-rc4/kernel/dma/...
comment by CodesInChaos · 2022-04-29 · in Git.io deprecation: Active links to be maintained in a read-only state -
You know you can shorten the commit hash? For example https://github.com/torvalds/linux/blob/9e02977bfa/kernel/dma... I don't find this ugly, it's even very human readable. There's all info in the url that you even can use in the future if…
comment by bhaak · 2022-04-29 · in Git.io deprecation: Active links to be maintained in a read-only state -
…from trivial to understand to WTF. These are all real-world applications: - Linux kernel (events) - https://github.com/torvalds/linux/blob/master/kernel/events/... - Arm CMSIS - (16-bit math) - https://github.com/ARM-software/CMSIS_5/blob/d…
comment by gotaquestion · 2022-04-25 · in C++20 Ranges Algorithms – Non-Modifying Operations -
…(probably uninteresting), but you will see any ffi calls (e.g., numpy) with proper stacks. [1]: https://github.com/torvalds/linux/blob/master/tools/perf/Doc...
comment by tbr1 · 2022-04-22 · in Magic-trace – High-resolution traces of what a process is doing -
…but not 5.18-rc2+, you'd be crashing every time you try to wake from suspend right now.[1] [1]: https://github.com/torvalds/linux/commit/dfbba2518aac4204203...
comment by sascha_sl · 2022-04-18 · in Ask HN: MacBooks seems to be the only viable option these days -
…https://stackoverflow.com/questions/5112097/what-is-the-code... https://github.com/torvalds/linux/tree/master/kernel/sched
comment by peter_d_sherman · 2022-04-16 · in Operating Systems: CPU Scheduling -
…well after 2009. I guess it either got changed, or, a different patch applied but perhaps this https://github.com/torvalds/linux/blob/master/fs/ext4/namei.... does it?
comment by AdamJacobMuller · 2022-04-16 · in Moreutils: A collection of Unix tools that nobody thought to write long ago -
…the failure. Usually shells default to running the file as a shell script with itself as argv0. [1] https://github.com/torvalds/linux/blob/3e732ebf7316ac83e8562...
comment by gnarula · 2022-04-06 · in You can do a lot with an empty file -
▲ 3
Sorry, this diff is taking too long to generatestory by csomar · 2022-04-05 · 1 comment
-
…Linus is going to feel real silly about this one. Oh well, get ready for the zero days! https://github.com/torvalds/linux
comment by ineedasername · 2022-04-01 · in Hackers Leak Lichess Source Code -
…enough" for upstream, since they can presumably at least run minimal testing on the driver paths: https://github.com/torvalds/linux/commit/a9498ee575fa116e289... - Microsoft's DXGI/whatever-it's-called driver for compute is still not…
comment by aseipp · 2022-03-31 · in Open-source drivers according to Habana -
…on 386/486". Cargo-cult programming at its finest :) That's weird. I tracked down the commit: https://github.com/torvalds/linux/commit/2ee2394b682c0ee99b0... > Actually, with all the crazy out-of-order speculative execution going on I…
comment by knorker · 2022-03-25 · in Writing a simple operating system from scratch (2010) [pdf] -
…Looks like Linux nowadays does the far jump immediately after setting cr0, thus doing two in one: https://github.com/torvalds/linux/blob/master/arch/x86/boot/... But the near and far jump (if you use both) still have VERY different…
comment by knorker · 2022-03-25 · in Writing a simple operating system from scratch (2010) [pdf]