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. He doesn't read them. There is a bot for that now. Example: https://github.com/torvalds/linux/pull/445#issuecomment-3203...
  2. …concerns, they didn't think they > mattered, so I gave up. Feel free to make a bugreport to github. https://github.com/torvalds/linux/pull/17#issuecomment-56546...
  3. That thing is intel-only, or at least Linux kernel thinks so: https://github.com/torvalds/linux/blob/master/arch/x86/kerne... And even on Intel, TSC is not reliable: https://lwn.net/Articles/388286/
    comment by Const-me · 2017-08-04 · in The slow currentTimeMillis()
  4. That module is actually already in Linux in the form of dm-integrity: https://github.com/torvalds/linux/blob/master/Documentation/... I'm using it with mdadm right now and it works pretty okay.
    comment by Veratyr · 2017-08-03 · in Stratis Storage Software Design [pdf]
  5. …comments about it: https://news.ycombinator.com/item?id=14814616 The kernel commit also has a note: https://github.com/torvalds/linux/commit/0f8782ea14974ce9926... "It can operate over LAN, WAN, cellular, wifi, or cable modem links. It can…
    comment by manigandham · 2017-07-21 · in TCP BBR congestion control comes to GCP
  6. …their hands dirty in low-level kernel code, the perhaps simplest tracing tool is dynamic-debug : https://github.com/torvalds/linux/blob/master/Documentation/...
    comment by everybodyknows · 2017-07-08 · in Linux tracing systems and how they fit together
  7. In case anyone is wondering if there's some kind of linter for these rules, you can use checkpath.pl https://github.com/torvalds/linux/blob/master/scripts/checkp...
    comment by no_cake · 2017-07-04 · in Linux kernel coding style
  8. …the GNU coding standards was there in the first Git import [1], but IIRC it's way older). [1] https://github.com/torvalds/linux/blame/master/Documentation...
    comment by antientropic · 2017-07-04 · in Linux kernel coding style
  9. …can see is that I saw reports on very old devices (5150) and with more recent devices (2230). [1]: https://github.com/torvalds/linux/commit/205e2210daa975d92ac... [2]: https://routerguide.net/optimize-ampdu-aggregation-on-or-off... [3]:…
  10. Linux looks like shit with any tab width besides 8. Simple example: https://github.com/torvalds/linux/blob/master/kernel/livepat... Notice there are a couple examples in that code where multiline method calls are meant to line up, and if…
  11. Ah, I almost got it right. It discarded too much, thus reducing throughput - even more subtle. https://github.com/torvalds/linux/commit/18aba41cbfbcd138e9f...
  12. This is addressed in the docs, at "stable_api_nonsense.txt": https://github.com/torvalds/linux/blob/master/Documentation/... (You might disagree with that doc, but if so you should address its arguments directly.)
  13. …link to the exact commit. Otherwise future commits will make the highlighted line number incorrect: https://github.com/torvalds/linux/blob/3c2993b8c6143d8a57937... (you can easily get this canonical URL by pressing 'y' on Github, and you…
    comment by scintill76 · 2017-06-05 · in Buried alive in reporters
  14. The "S:" means "Status": https://github.com/torvalds/linux/blob/3c2993b8c6143d8a57937...
    comment by venning · 2017-06-05 · in Buried alive in reporters
  15. What are you talking about?! https://github.com/torvalds/linux Linus just don't agree with GitHub's pull-requests, so he doesn't accept such that way.
  16. …but I'm not sure how complete they are). [1]: https://android.googlesource.com/kernel/common/ [2]: https://github.com/torvalds/linux/blob/master/arch/arm/boot/... [3]: https://github.com/torvalds/linux/blob/master/arch/arm/boot/... [4]:…
    comment by forkbomb_ · 2017-05-18 · in Android O Beta Program
  17. …that the e_ehsize is the same size as the allocated buffer, perhaps they had an issue at one point. https://github.com/torvalds/linux/blob/ba6d973f78eb62ffebb32...
    comment by molticrystal · 2017-05-18 · in Elf Hello World
  18. …says explicitly "search by username" but I like to ignore the documentation and search directly https://github.com/torvalds/linux (sorry if it's too big) (consider to add some caching) Edit: 20.392.848 pages!
  19. …time slice the idle thread is scheduled on CPU the whole slice is counted as idle time! See also: https://github.com/torvalds/linux/blob/master/Documentation/...
    comment by heinrichhartman · 2017-05-10 · in CPU Utilization is Wrong
  20. https://github.com/torvalds/linux/commit/0f8782ea14974ce9926...
    comment by ymse · 2017-05-09 · in BBR, the new kid on the TCP block
  21. Why "problematic"? The Al Viro change mentioned in the fix is https://github.com/torvalds/linux/commit/227158db160449b6513... . The commit says this makes the bug not exploitable since the new helper function handles correctly the edge…
  22. …that (so it would allow for unprivileged users to do all sorts of bad things as a result). [1]: https://github.com/torvalds/linux/blob/fe82203b63e598c34d96e...
  23. …and linked pages in the kernel source tree, which seems to have been created less than a year ago: https://github.com/torvalds/linux/commits/master/Documentati...
    comment by geofft · 2017-03-28 · in Linux kernel coding style
  24. …TRIM on when it was in my Macbook. [1] https://www.smartmontools.org/wiki/SamsungF4EGBadBlocks [2] https://github.com/torvalds/linux/commit/cda57b1b05cf7b8b99a... [3] https://bugzilla.kernel.org/show_bug.cgi?id=71371 [4]…
    comment by mrsteveman1 · 2017-03-27 · in Apple Releases MacOS 10.12.4 with Night Shift
  25. Some more from Linus: https://github.com/torvalds/linux/pull/17#issuecomment-56637...
  26. …better do word-wrapping at commit time, because that's the only time you know the difference. [0] https://github.com/torvalds/linux/pull/17#issuecomment-56611... EDIT: small clarification and formatting
  27. …share the same word but are two different concepts from two different points of view. [0] https://github.com/torvalds/linux/blob/master/include/linux/...
    comment by arkj · 2017-03-16 · in Principles for C programming
  28. …cleanup point at the end of the function, which is also the same style used by the Linux kernel: https://github.com/torvalds/linux/blob/master/Documentation/... The "diamond" style hinders readability, especially when you have many levels…
  29. …absolutely notice like non-printing characters in comments? Or, you know, random odd generated crud https://github.com/torvalds/linux/tree/master/firmware/radeo...
    comment by posterboy · 2017-02-26 · in Linus on Git and SHA-1
  30. …code is only a small obstacle for a skilled attacker (and most kernel attackers _will_ be skilled): https://github.com/torvalds/linux/commit/c4e490cf148e85ead0d... -- so, given this: why exactly are we paying the cost of these regressions,…
  31. …is registered to your GitHub account. To give examples: - Git https://github.com/git/git , - Linux https://github.com/torvalds/linux , - LibreOffice https://github.com/LibreOffice/core , - Firefox https://github.com/mozilla/gecko-dev
  32. More on vGPU here https://github.com/torvalds/linux/blob/5824f92463e978f27985b...
  33. …commits come from Rusty Russel, who wrote the lguest toy hypervisor documentation as a story: https://github.com/torvalds/linux/commit/f938d2c892db0d80d14...
  34. …emulator for OSX[5]. [3]: https://opensource.apple.com/source/xnu/xnu-1504.3.12/osfmk/... [4]: https://github.com/torvalds/linux/blob/master/arch/x86/entry... [5]: https://github.com/geocar/ml/ I think many OSX supporters do the platform a…
  35. …https://help.github.com/articles/keeping-your-email-address-... He explains in a later comment: https://github.com/torvalds/linux/pull/17#issuecomment-56599... > real explanation, proper email addresses, proper shortlog, and proper…
    comment by TAForObvReasons · 2017-01-20 · in Maintainers Don't Scale
  36. Linus disagrees. https://github.com/torvalds/linux/pull/17#issuecomment-56546...
    comment by ma2rten · 2017-01-20 · in Maintainers Don't Scale
  37. …the hang of it, but the memory management can be a bitch. See 'mm/memory.c': 'copy_page_range()'" https://github.com/torvalds/linux/blob/master/kernel/fork.c#...
    comment by tyingq · 2017-01-11 · in I Didn't Get Hired to Google
  38. this isn't syntax highlighting, it's highlighting the diff add/removes. https://github.com/torvalds/linux/commit/b0b9b3df27d100a975b... syntax highlighting would be like this, where keywords, function calls, and variables are all different…
    comment by evan_ · 2017-01-09 · in Atlassian acquires Trello for $425M
  39. > Last one was merged into mainline. Then reversed. Sadly. > Then applied again: https://github.com/torvalds/linux/commit/6c25da5ad55d48c41b8... . > > The gist: if you modify SS register in the signal handler you are screwed. The only way…
    comment by amluto · 2017-01-04 · in Why isn't memset() async-signal-safe?
  40. …Last one was merged into mainline. Then reversed. Sadly. Then applied again: https://github.com/torvalds/linux/commit/6c25da5ad55d48c41b8... The gist: if you modify SS register in the signal handler you are screwed. The only way around
    comment by majke · 2017-01-03 · in Why isn't memset() async-signal-safe?
  41. …updates'. If you want to know what actually changed, then look at the commit logs, e.g.: https://github.com/torvalds/linux/compare/v4.9-rc8...v4.9
    comment by wolfgang42 · 2016-12-13 · in Linux 4.9 is out
  42. …the PCI card doesn't successfully come back up after we reset the slot or the PCI controller... https://github.com/torvalds/linux/commit/949e9b827eb4736d96d...
    comment by ajdlinux · 2016-12-12 · in Linux 4.9 is out
  43. there are many other gpu vendors, e.g. in arm cores. I guess this is the code tree in question: https://github.com/torvalds/linux/tree/master/drivers/gpu/dr...
  44. Thanks for catching that. You are right. Here is the source code: https://github.com/torvalds/linux/blob/master/fs/proc/uptime... My source (first result in Google) was this link https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s2-p.…
    comment by p8donald · 2016-12-02 · in Htop explained
  45. …The commit that introduced the notation, actually used something similar to your second approach: https://github.com/torvalds/linux/commit/8c87df457cb58fe75b9...
    comment by thomasahle · 2016-11-21 · in What is “:-!!” in C code?
  46. Looks exactly like the macro Jan Beulich replaced with the one discussed in OP: https://github.com/torvalds/linux/commit/8c87df457cb58fe75b9...
    comment by Sacho · 2016-11-21 · in What is “:-!!” in C code?
  47. …trick is used in the Linux kernel source code [1]. I expect it's compiled with -Wvla though. [1] https://github.com/torvalds/linux/blob/v4.5/arch/x86/boot/bo...
    comment by Mindless2112 · 2016-11-21 · in What is “:-!!” in C code?
  48. Any constant expression. In the kernel it's mostly non-zero flags, sizes of things, etc. See https://github.com/torvalds/linux/search?utf8=%E2%9C%93&q=BU... There's also a fun compile time check for arrays:…
    comment by viraptor · 2016-11-21 · in What is “:-!!” in C code?
  49. …%/,%,$(filter %/, \ $(init-) $(core-) $(drivers-) $(net-) $(libs-) $(virt-)))) ^^^^ ! That is from: https://github.com/torvalds/linux/blob/master/Makefile Maybe you should try arguing your inane point on the Linux kernel mailing list!
    comment by kazinator · 2016-11-20 · in Smalltalk vs. Scheme, JavaScript, and Java
  50. Looks like it might be (partially) supported: https://github.com/torvalds/linux/search?utf8=%E2%9C%93&q=MT...