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 stack (at least on x86, amd64). You don’t get argc/argv/envp but main will still work. [0] https://github.com/torvalds/linux/tree/master/tools/include/... [1] https://github.com/lpsantil/rt0/blob/master/src/lib/00_start...
    comment by oso2k · 2023-02-05 · in A Linking Adventure
  2. …of dynamic code generated by a JIT. This is supported by at least the JVM, Node, and Python (3.12). https://github.com/torvalds/linux/blob/0513e464f9007b70b9674... https://www.brendangregg.com/Slides/KernelRecipes_Perf_Event... (pp. 53-58)…
    comment by nemetroid · 2023-02-05 · in Fedora now has frame pointers
  3. …thing for NVMe devices (eg Samsung, SK Hynix, Micron, Kingston, ADATA, Intel, (etc) NVMe drives): https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4... Not quite as easy to read and understand as the ata driver code though. With…
    comment by justinclift · 2023-02-04 · in Update on Samsung SSD Reliability
  4. …point, the Linux kernel has a long list of workarounds for "ata" related devices (SSDs, HDDs, etc): https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4... Can be a bit eye opening to look down that and see equipment you're using…
    comment by justinclift · 2023-02-04 · in Update on Samsung SSD Reliability
  5. …to issue requests not included in that specification, and to have undocumented constraints. [3] [1] https://github.com/torvalds/linux/blob/master/drivers/net/us... [2] https://learn.microsoft.com/en-us/windows-hardware/drivers/n... [3]…
  6. Is it broken? I tried adding https://github.com/torvalds/linux and asking it to write a simple kernel module for me, but it gave me this error: "Something went wrong, please try again later. If the problem persists, please contact us."…
  7. It seems that this has been the case for years, at least going from the (obviously logged-out) archive.org saves of the Linux repo: https://web.archive.org/web/20180115003453/https://github.co...
  8. …turned out to be a racist or sexist or homosexist or transexist, would his Linux repository ( https://github.com/torvalds/linux ) be hammered? Would he be removed from the Linux project somehow?
  9. …and asm-generic headers. The Linux kernel headers with all relevant structure definitions are here: https://github.com/torvalds/linux/tree/master/include/uapi
    comment by matheusmoreira · 2022-12-27 · in Experimental Rust Feature: Safer Interoperable ABI
  10. The source is published to GitHub though, no? https://github.com/torvalds/linux It's an easy mistake to make, the code is there and there's nothing to suggest it's a mirror.
    comment by Philip-J-Fry · 2022-12-24 · in Second Life on GitHub
  11. The historical reason is https://github.com/torvalds/linux/pull/17#issuecomment-56546... Perhaps some of these issues have been fixed by now, but the Linux project has been going on just fine without GitHub (git was even invented for the…
    comment by ithkuil · 2022-12-24 · in Second Life on GitHub
  12. …it will get truncated to the "TASK_COMM_LEN" that proc(5) discusses. See this code in kernel/sys.c: https://github.com/torvalds/linux/blob/493ffd6605b2d3d4dc700... This is the linux.git commit that changed it, before that kernel worker…
    comment by avar · 2022-12-23 · in Linux /proc/pid/stat parsing bugs
  13. They actually allow up to 64 characters in the kernel: https://github.com/torvalds/linux/blob/8395ae05cb5a2e31d3610... This might just be for certain kernel things though. I don't see any regular processes that aren't truncated, but I see…
    comment by jyxent · 2022-12-22 · in Linux /proc/pid/stat parsing bugs
  14. …`list` type that's used ~everywhere in the kernel didn't have any in-repo unit tests until 2019 ( https://github.com/torvalds/linux/commit/ea2dd7c0875ed31955c... ), after kunit, a library for userspace testing of kernel code, was added.
  15. https://github.com/torvalds/linux/commit/b6a2fea39318e43fee8...
    comment by jeffbee · 2022-12-22 · in All 1,400 Google Chrome CLI flags
  16. …in gflags since 2007 at the latest, and 2007 is also when the command line length limit was lifted: https://github.com/torvalds/linux/commit/b6a2fea39318e43fee8...
    comment by jeffbee · 2022-12-22 · in All 1,400 Google Chrome CLI flags
  17. …but it is at least a nice list in a plain text file — intel-family.h from the Linux source tree: https://github.com/torvalds/linux/blob/master/arch/x86/inclu...
    comment by gorgoiler · 2022-12-19 · in Was Rocket Lake Power Efficient?
  18. https://sourcegraph.com/github.com/torvalds/linux is a more featured search engine with limited go-to-definition functionality, and removes the need to clone locally and search in many cases. Can be used with any GitHub repo. Just make…
    comment by Arnavion · 2022-12-17 · in A Linux Evening
  19. Kernel parameters are usually documented in the kernel-parameters.txt file in the source. See https://github.com/torvalds/linux/blob/master/Documentation/... : hpbussize=nn The minimum amount of additional bus numbers reserved for buses…
    comment by jeromenerf · 2022-12-16 · in A Linux Evening
  20. That makes sense, so I just picked another commit at random without a -rc tag: https://github.com/torvalds/linux/commit/c60c152230828825c06... The fix is to change && to || This seems like the exact type of bug that a unit test could…
  21. > ... there are a bunch of internal APIs: linked lists come to mind. Those already have unit tests: https://github.com/torvalds/linux/blob/master/lib/list-test.... using an existing in-kernel test framework no less. If you step up into the…
  22. …Maybe that's why the most recent commit as of right now is loaded with fixes of broken things: https://github.com/torvalds/linux/commit/08ad43d554bacb9769c... It's one thing to say that it's impossible to test effectively locally before…
  23. …on top of that such as Slab/Slub, jcmalloc, tcmalloc, mimalloc, etc. but you got the point). [1] https://github.com/torvalds/linux/blob/c3eb11fbb826879be773c...
  24. The kernel definitely sets the WIMG bits at https://github.com/torvalds/linux/blob/master/arch/powerpc/m... (line 336, if HN removes it), though I've never been able to "make it work" either. I used box64 as a test case, where I had a game…
    comment by spijdar · 2022-11-10 · in Why is Rosetta 2 fast?
  25. …required compiler-specific macros like GCC's __builtin_expect, which is used all over the kernel: https://github.com/torvalds/linux/search?q=__builtin_expect
    comment by mikepurvis · 2022-11-10 · in Why is Rosetta 2 fast?
  26. 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
  27. …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…
  28. …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
  29. …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…
  30. …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…
  31. https://github.com/torvalds/linux/blob/d47136c2801540e80f41e...
    comment by nathants · 2022-10-23 · in Linux: What Can You Epoll?
  32. …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 Copi­lot inves­ti­ga­tion
  33. …( 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
  34. > 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
  35. …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
  36. > 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…
  37. …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
  38. …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/...
  39. …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
  40. …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?
  41. …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
  42. …doesn’t scale; What about these projects? https://github.com/redis/redis/blob/unstable/src/Makefile https://github.com/torvalds/linux/blob/master/Makefile
  43. …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…
  44. 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
  45. …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...
  46. …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 (…
  47. …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 (…
  48. …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...
  49. 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…
  50. …[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]…