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. …source tree. It even links to an interactive tutorial regarding how to set up git-send-email[2] [1] https://github.com/torvalds/linux/blob/master/Documentation/... [2] https://git-send-email.io/
  2. visible on the github repo https://github.com/torvalds/linux
  3. …to do if we need to re-review patches is remove them for now)" warrants an apology in itself. [1] - https://github.com/torvalds/linux/commit/799bac5512188522213... [2] - https://lore.kernel.org/linux-nfs/YIAta3cRl8mk%2FRkH@unreal/ [3] -…
  4. …more amusing assembly syntaxes, I present Blackfin, which looks almost HLL-like at first glance: https://github.com/torvalds/linux/blob/b8c9c8f0190f4004d3d43... . In terms of expressiveness it’s about the same as any other CPU-level…
  5. …commits--just the association of his advisor being one of the authors of the "hypocrite" paper. [0] https://github.com/torvalds/linux/commits?author=pakki001@um... [1] Including his most recent that was successfully applied:…
  6. …and Greg finding several vulnerable commits that reached stable branches and releases. For example: https://github.com/torvalds/linux/commit/8e949363f017 While I'm sure a room of people might find it useful to psychoanalyze their 'unclear'…
    comment by DetroitThrow · 2021-04-21 · in “They introduce kernel bugs on purpose”
  7. But your signed-off-by was a correct email address with your real identity, as per: https://github.com/torvalds/linux/blob/master/Documentation/... Right? It's true that all systems can be gamed and you could no doubt fool the right…
  8. This is one of the commits that went live with "built-in bug" according to Leon: https://github.com/torvalds/linux/commit/8e949363f017
  9. Here's the commit specifically identified by Leon Romanovsky as having a "built-in bug" https://github.com/torvalds/linux/commit/8e949363f017
  10. …2013, and 2008. None of these people appear to be associated with Liu in any significant way. [1]: https://github.com/torvalds/linux/search?q=%22umn.edu%22 [2]: https://github.com/torvalds/linux/search?q=%22umn.edu%22&typ... [3]:…
  11. …was trying to bypass by identifying their commits as now being part of a personal hobby. [0] https://github.com/torvalds/linux/commit/6b389c16378a03fe71f...
  12. …being okay but not great [3]. You can compare ClockPro [4] and DClock [5] in the simulator. [1] https://github.com/torvalds/linux/blob/ac3a0c8472969a03c0496... [2] https://github.com/torvalds/linux/blob/1590a2e1c681b0991bd42... [3]…
  13. see: https://www.kernel.org/doc/html/latest/dev-tools/kunit/index... https://github.com/torvalds/linux/blob/master/tools/testing/...
  14. The linux kernel also has some nice comments in its red black tree implementation. https://github.com/torvalds/linux/blob/master/lib/rbtree.c
  15. …and in the module make the system call with proper library call. like in the following code: https://github.com/torvalds/linux/blob/master/samples/vfs/te... This way it will be portable! A couple of weeks ago, I just made for our OS's…
    comment by andy_threos_io · 2021-03-29 · in A statx(2) Linux system Python wrapper
  16. …yet. https://github.com/intel/compute-runtime https://github.com/intel/intel-graphics-compiler https://github.com/torvalds/linux/tree/master/drivers/gpu/dr...
  17. …It is well written but very confusing code that seems scattered if not a kernel developer. [1] https://github.com/torvalds/linux/blob/master/mm/workingset.... [2] https://github.com/torvalds/linux/blob/1590a2e1c681b0991bd42... [3]…
  18. Linux has the CREDITS file where you end up once you drop out of maintainership of some subsystem: https://github.com/torvalds/linux/blob/master/CREDITS (e.g. https://github.com/torvalds/linux/commit/054c4610bd05 )
    comment by stefan_ · 2021-03-13 · in Dhcpcd Will Need a New Maintainer
  19. You can easily see by searching for 'kmalloc' (or 'malloc') at https://github.com/torvalds/linux/blob/master/include/linux/... that it does no such thing. Here's the logic for adding a list node: /* * Insert a new entry between two known…
  20. …used for more than those two situations. Maybe just cruft...? Search for retry: or handle_itb: in https://github.com/torvalds/linux/blob/master/fs/ext4/resize... Or fixleft: or copy: in https://github.com/torvalds/linux/blob/d158fc7f36a25e1…
    comment by robocat · 2021-03-10 · in Decoded: GNU coreutils (2019)
  21. …that get installed to /usr/include/linux/netfilter have conflicts on a case-insensitive filesystem. https://github.com/torvalds/linux/tree/master/include/uapi/l... Debhelper used to be one of those until I convinced them to change it: they…
  22. Looks like it's still there: https://github.com/torvalds/linux/blob/master/fs/ext4/resize...
  23. No changes: https://github.com/torvalds/linux/blob/master/fs/ext4/resize...
  24. I see a problem: https://github.com/torvalds/linux/blob/master/fs/ext4/resize... Upon a quick code review, these lines look buggy: unsigned three = 1; unsigned five = 5; unsigned seven = 7; Without digging deeper, the reader of this code…
  25. Explanatory comment: https://github.com/torvalds/linux/blob/d158fc7f36a25e19791d2...
  26. He does not, look at the graveyard that is https://github.com/torvalds/linux/pulls?q=is%3Apr+is%3Aclose... The Linux kernel uses a development process that is very disjoint from common contemporary open-source practice, and easy to get…
    comment by ben0x539 · 2021-03-06 · in Linus and Pull Requests (2012)
  27. …a few lines earlier in the bdev_write_page() fast path, as introduced by this commit from 2014: https://github.com/torvalds/linux/commit/dd6bd0d9c7dbb395100... So either: 1. The bdev_write_page() call was also broken, and has been for…
    comment by N48 · 2021-03-05 · in A warning about 5.12-rc1
  28. …IDs, so you have to go looking yourself. I believe this is the commit which introduces the bug: https://github.com/torvalds/linux/commit/48d15436fde6feebcde... And I believe this is the commit which fixes it:…
    comment by skissane · 2021-03-05 · in A warning about 5.12-rc1
  29. …dynamically typed language VM? Here: https://github.com/v8/v8 Build an operating system? OK: https://github.com/torvalds/linux Build a database? Here you go: https://github.com/postgres/postgres
    comment by munificent · 2021-03-04 · in Flutter 2
  30. …working on it because I found better solution for system calls on the Linux kernel repository: https://github.com/torvalds/linux/blob/master/tools/include/... Do you think liblinux could have a future?
    comment by matheusmoreira · 2021-03-01 · in Actually Portable Executables
  31. …tarballs and cloning git repos: https://github.com/ohmyzsh/ohmyzsh/pull/2029 Example: take https://github.com/torvalds/linux.git # you're now in the cloned directory
    comment by mgalgs · 2021-02-27 · in Zsh Tricks to Blow Your Mind
  32. No. As someone else mentioned, the kernel hardcodes /bin/sh as a last resort: https://github.com/torvalds/linux/blob/dcc0b49040c70ad827a7f...
  33. It does, however, hardcode /bin/sh as a init of last resort: https://github.com/torvalds/linux/blob/dcc0b49040c70ad827a7f...
    comment by saagarjha · 2021-02-12 · in How Fat Does a Fat Binary Need to Be?
  34. …contributions. So that your change can become part of Linux, please email it to us as a patch. [0] https://github.com/torvalds/linux/pull/805#issuecomment-5933...
    comment by pengaru · 2021-02-09 · in SDL Moves to GitHub
  35. AFAIK it got merged a while back: https://github.com/torvalds/linux/commit/66341331ba0d2de4ff4... (for Linux 5.4) It isn't even a big patch.
  36. …account of any single version of fast-changing parts of the kernel like the OOM killer. Source: https://github.com/torvalds/linux/blob/master/mm/oom_kill.c
  37. …file for the architecture. For example, PAGE_SHIFT is 13 for OpenRisc: https://github.com/torvalds/linux/blob/fcadab740480e0e0e9fa9... A quick way to convert that to the page size: $ echo "2^13" | bc 8192
  38. …with a STM32 of some kind. You can run Linux directly on some STM32 MCUs. No emulation required! https://github.com/torvalds/linux/tree/master/arch/arm/mach-... That being said, static operation is really less of an issue than you're…
    comment by duskwuff · 2020-12-22 · in Linux on an 8-Bit Micro? (2012)
  39. …This is common in the Linux kernel. A great example is this function I found at random from fork.c: https://github.com/torvalds/linux/blob/master/kernel/fork.c#... Notice that there are five different goto targets, each for a specific case…
    comment by scott_s · 2020-12-14 · in A Defer Mechanism for C
  40. LGTM https://github.com/torvalds/linux/pull/684
  41. The actual code in the kernel is well documented (and different, lines 103-149): https://github.com/torvalds/linux/blob/master/include/linux/...
  42. …2. A better way might be to look at the linux source code directly (choose the right architecture): https://github.com/torvalds/linux/blob/master/arch/x86/entry...
    comment by djeiasbsbo · 2020-12-05 · in Reading Manpages Like a Pro (2018)
  43. …a somewhat unpleasant experience. It feels like the code lacks enunciation. As if it mumbles. [1] https://github.com/torvalds/linux/blob/master/Documentation/...
    comment by huhtenberg · 2020-11-30 · in I am an 80 column purist
  44. …makes CPU limits for containers extra costly? https://github.com/kubernetes/kubernetes/issues/67577 https://github.com/torvalds/linux/commit/512ac999d2755d2b710... If I recall correctly you need 4.18+ to get the fix.
    comment by tbrock · 2020-11-29 · in A better Kubernetes from the ground up
  45. …make these definitions small ; the feature set of a modern GPU really is massively complex. [1] https://github.com/torvalds/linux/blob/c84e1efae022071a4fcf9...
  46. …https://blogs.oracle.com/linux/notes-on-bpf-7 has the links at the bottom) and from the Linux source, https://github.com/torvalds/linux/blob/master/include/uapi/l... . https://docs.cilium.io/en/latest/bpf/ is an extensive reference but…
  47. …s://www.kernel.org/doc/html/latest/scheduler/sched-desig... Check out the code here, if you're brave: https://github.com/torvalds/linux/blob/master/kernel/sched/f...
    comment by TimTheTinker · 2020-11-19 · in Windows Subsystem for Linux: The lost potential
  48. …issue page and PRs receive a polite comment on how to send their PRs as patches outside of github. https://github.com/torvalds/linux
  49. …file from the patch index mail linked above, mm_inline.h, and went scrolling through its history at https://github.com/torvalds/linux/commits/master/include/lin... but didn't see a corresponding change there. I guess the patches might have…
  50. …of concept on the linux kernel repo [2]. [1] https://news.ycombinator.com/item?id=24976138 [2] https://github.com/torvalds/linux/tree/5895e21f3c744ed9829e3...