Hacker GitHub

← All repos

torvalds/linux

View on GitHub ↗ ★ 254,231 C

Linux kernel source tree

948 mentions on Hacker News by 746 people: 99 stories, 849 comments · first 2010-07-15 · latest 2026-11-03

Mentions per year 948 mentions · busiest year 2022 (104)
20082026
  1. ▲ 41
    Linus Torvalds: floppy driver marked as orphaned
    story by sohkamyung · 2019-07-27 · 4 comments
  2. …performance in key spots. EDIT: I see several, just from doing a simple search against 'movq' https://github.com/torvalds/linux/search?q=movq&unscoped_q=m... I am not a kernel programmer, though, so I can't say whether it's being used in…
  3. …if you need more than 3 levels of indentation, you're screwed anyway, and should fix your program." https://github.com/torvalds/linux/blob/master/Documentation/...
  4. …on Linux you are expected to recompile drivers for every new kernel version, that's intentional ( https://github.com/torvalds/linux/blob/master/Documentation/... ). Since the driver API is reasonably stable, the code doesn't need to be…
    comment by filmor · 2019-06-29 · in Microsoft's Linux Kernel
  5. Same for the official linux source https://github.com/torvalds/linux
    comment by judge2020 · 2019-06-29 · in Microsoft's Linux Kernel
  6. Linux doesn't have a stable driver ABI: https://github.com/torvalds/linux/blob/master/Documentation/...
  7. Linux has an explicit exception in its license so that user space software doesn’t fall under GPL. https://github.com/torvalds/linux/blob/master/LICENSES/excep... > NOTE! This copyright does not cover user programs that use kernel services…
    comment by javagram · 2019-06-09 · in Blender Is Free Software
  8. ▲ 3
    Update Panic.c – The “Bruh Moment”
    story by bifrost · 2019-06-05 · 0 comments
  9. …and this is likely due to the clearly declared syscall exception as noted in their licensing docs: https://github.com/torvalds/linux/blob/master/Documentation/... And, Torvalds commented on never-GPLv3 in 2006:…
    comment by floatingatoll · 2019-06-05 · in Apple makes zsh default shell on macOS
  10. ▲ 1
    Code Fast
    story by LinuxBender · 2019-06-04 · 0 comments
  11. …document. Basically, don't use volatile. Here, with your choice of formatting: https://github.com/torvalds/linux/blob/master/Documentation/... https://www.mjmwired.net/kernel/Documentation/volatile-consi... https://www.kernel.org/doc/htm
  12. …that the problem was introduced exactly then, but it does show that it's relatively recent code. https://github.com/torvalds/linux/commit/467fa15356acfb7b2ef...
  13. …Linus moved away from mailing lists some time ago. But then I'm not involved in kernel hacking. [1] https://github.com/torvalds/linux/pulls
    comment by lixtra · 2019-05-14 · in Oh shit, git (2016)
  14. This is part of the reason why the Linux kernel doesn’t have a stable API. Quote from https://github.com/torvalds/linux/blob/master/Documentation/... : > Depending on the version of the C compiler you use, different kernel data structures…
  15. …implemention used in git-request-pull instead. [1] https://git-scm.com/docs/git-request-pull [2] https://github.com/torvalds/linux/pull/17#issuecomment-56546...
    comment by u801e · 2019-04-20 · in Commit messages guide
  16. …on the recipient's display to do it for them. Linus Torvalds describes the same issue here [1]. [1] https://github.com/torvalds/linux/pull/17#issuecomment-56606... .
    comment by u801e · 2019-04-20 · in Commit messages guide
  17. Yep, Linus has been quite vocal about his distaste for GitHub pull requests. https://github.com/torvalds/linux/pull/17#issuecomment-56546...
    comment by vimslayer · 2019-03-30 · in TypeScript 3.4
  18. …return i+1 } does two things, and it's two lines long. The function tcp_send_message_locked ( https://github.com/torvalds/linux/blob/master/net/ipv4/tcp.c... ) does one thing at it's 261 lines long. Shorter code is _indicative of_…
  19. …in 4.20.11, I can confirm that the fix is NOT in there. It's trivial to apply yourself, though from https://github.com/torvalds/linux/commit/9060cb719e61b685ec0... curl https://github.com/torvalds/linux/commit/9060cb719e61b685ec0102574e1033…
  20. Looks like this is the fix: https://github.com/torvalds/linux/commit/9060cb719e61b685ec0...
  21. …a serial-based RF link. It's really weird to see code in the slip.c file that's older than I am: https://github.com/torvalds/linux/blame/master/drivers/net/s... .
    comment by morpheuskafka · 2019-02-12 · in Build your own dial-up ISP in 2019
  22. No? https://github.com/torvalds/linux/blob/master/drivers/gpu/dr... and all the other files in the folder are by AMD.
    comment by striking · 2019-02-10 · in Wayland misconceptions debunked
  23. …has a fully upstreamed Linux kernel driver and a fully upstreamed Mesa userland graphics driver. https://github.com/torvalds/linux/tree/master/drivers/gpu/dr... https://gitlab.freedesktop.org/mesa/mesa/tree/master/src/gal... This isn't…
  24. …infringement, and (possibly) the special exception for userspace in Linux's copyright statement, https://github.com/torvalds/linux/blob/master/LICENSES/excep... , is the only thing that makes normal userspace processes non-infringing, and…
  25. …GitHub’s mirror of the Linux kernel [2]. [1] https://mybinder.org/v2/gh/torvalds/linux/master [2] https://github.com/torvalds/linux
  26. …As for RAM encryption, Linux already supports it, if you're using a very new AMD CPU with SME: https://github.com/torvalds/linux/blob/master/Documentation/...
    comment by icebraining · 2019-01-21 · in Intro to hacking MicroSD cards (2013)
  27. Am I reading correctly that Linux only has <300 commits per day? (<100K per year, 800K in histoy) https://github.com/torvalds/linux/commits/master?after=3bd6e... That's a lot for a code base, but not a lot for a configuration base that has…
    comment by gowld · 2019-01-08 · in Monorepos and the Fallacy of Scale
  28. …history of Linux kernel development exists as a single git repository which you can check out here: https://github.com/torvalds/linux (Indeed, git was developed for this very purpose.) And it's very doubtful you're going to become larger…
    comment by CydeWeys · 2019-01-08 · in Monorepos and the Fallacy of Scale
  29. …~/src/gnu/bash/bash -c 'BASH_ARGV0="XYZ"; cat /proc/$BASHPID/comm' bash Furthermore, https://github.com/torvalds/linux/blob/master/Documentation/... says: > 3.6 /proc/<pid>/comm & /proc/<pid>/task/<tid>/comm >…
    comment by dualbus · 2019-01-08 · in Bash 5.0 released
  30. …the target process's address space and fish out its argv[0]. This, erm... has some corner cases: https://github.com/torvalds/linux/blob/v4.20/fs/proc/base.c#... https://github.com/torvalds/linux/blob/v4.20/fs/proc/base.c#... Changing the…
    comment by willglynn · 2019-01-08 · in Bash 5.0 released
  31. …https://www.reddit.com/r/programming/comments/ab601z/what_if... https://github.com/torvalds/linux/blob/master/Documentation/...
  32. I wasn't familiar with hme.ko comments, so looked it up. https://github.com/torvalds/linux/blob/master/drivers/net/et...
  33. Well, those are mostly just vendor specific drivers. Actual Bluetooth kernel code can be found here: https://github.com/torvalds/linux/tree/master/net/bluetooth IMO it is quite well organised and readable.
  34. https://github.com/torvalds/linux/tree/master/drivers/blueto... The Linux source for it is even less approachable.
  35. Heh, I know of one time the kernel did break backward-compatibility, intentionally even - https://github.com/torvalds/linux/commit/6b99e3569ba17b9fd38... My fan controller used the sysfs paths mentioned in the commit message directly. So…
  36. ▲ 16
    GitHub will render out-of-tree commits
    story by LiveTheDream · 2018-12-21 · 3 comments
  37. ▲ 4
    This GitHub URL makes it look like Linux has a rootkit committed to it
    story by AndyKelley · 2018-12-20 · 4 comments
  38. …Here's a good example of a 4 year old using (presumably) her full name committing to the kernel: https://github.com/torvalds/linux/commit/690b0543a813b0ecfc5... If that kid grows up, moves to the EU, and wants Microsoft (GitHub) to stop…
    comment by avar · 2018-12-19 · in Download all of your GitHub data
  39. I'm no C programmer but these looks like hints: https://github.com/torvalds/linux/blob/master/fs/ext4/ext4.h... https://github.com/torvalds/linux/blob/master/fs/ext4/ext4.h...
  40. …for others to view. The Linux[1] and git[2] projects mirror their code on Github, for example. [1] https://github.com/torvalds/linux [2] https://github.com/git/git
    comment by u801e · 2018-12-02 · in Moving to GitLab
  41. …myself a helper tool for navigating the GOPATH: $ cg gh:torvalds/linux # cg = cd to git repo $ pwd .../src/github.com/torvalds/linux The code is at https://github.com/majewsky/gofu#rtree if anyone's interested.
    comment by majewsky · 2018-11-30 · in Go 2, here we come
  42. …start_kernel(), the kernel entry point after booting up and handling the lowest level stuff in asm: https://github.com/torvalds/linux/blob/v4.19/init/main.c#L53... - grep for SYSCALL_DEFINE to find definitions of syscalls, e.g. this is…
    comment by stiff · 2018-11-29 · in Programs to Read
  43. …looking for. To encourage you, here are a couple of contributions I have to Linux and Hadoop: https://github.com/torvalds/linux/commit/0bef71093d446165964... https://github.com/apache/hadoop/pull/114 If you read through the commit messages…
  44. …Of course they can't be easily changed because that would break everyone's boot environment. https://github.com/torvalds/linux/blob/master/Documentation/...
  45. …AMD chip to have them was Cayman in 2010. Since we're citing kernel drivers here, take a look at https://github.com/torvalds/linux/blob/44786880df196a4200c17... and note how the function skips any parsing when virtual memory is used.)
  46. …bit of it necessary even for new GPUs like Radeon R600. See r600_packet0_check, r600_packet3_check: https://github.com/torvalds/linux/blob/master/drivers/gpu/dr...
  47. https://github.com/torvalds/linux/pull/437
  48. …No need to memory map or hard code the size of bounds. See `array_index_mask_nospec` in https://github.com/torvalds/linux/blob/master/arch/x86/inclu...
  49. ▲ 3
    Code of Conduct: Let's revamp it
    story by BitterSweets · 2018-09-26 · 0 comments
  50. …about and it is not "the exact same problem". * https://news.ycombinator.com/item?id=9653238 * https://github.com/torvalds/linux/blob/0e9b10395018ab78bf6bf...