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
-
He doesn't read them. There is a bot for that now. Example: https://github.com/torvalds/linux/pull/445#issuecomment-3203...
comment by eosrei · 2017-08-09 · in Why GitHub Can't Host the Linux Kernel Community -
…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...
comment by mi100hael · 2017-08-09 · in Why GitHub Can't Host the Linux Kernel Community -
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() -
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] -
…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 -
…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 -
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 -
…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 -
…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]:…
comment by kroo · 2017-07-01 · in The case of the 500-mile email (2002) -
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…
comment by hn_throwaway_99 · 2017-06-15 · in Developers who use spaces make more money than those who use tabs -
Ah, I almost got it right. It discarded too much, thus reducing throughput - even more subtle. https://github.com/torvalds/linux/commit/18aba41cbfbcd138e9f...
comment by dom0 · 2017-06-14 · in How I Found a 20-Year-Old Linux Kernel Bug -
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.)
comment by rtb · 2017-06-11 · in Ask HN: Why no stable binary kernel interface for drivers? -
…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 -
The "S:" means "Status": https://github.com/torvalds/linux/blob/3c2993b8c6143d8a57937...
comment by venning · 2017-06-05 · in Buried alive in reporters -
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.
comment by algesten · 2017-05-20 · in Ask HN: How did open source work before GitHub? -
…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 -
…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 -
…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!
comment by gus_massa · 2017-05-13 · in Show HN: How Many Pages? – GitHub Repo-to-8.5"X11" count -
…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 -
https://github.com/torvalds/linux/commit/0f8782ea14974ce9926...
comment by ymse · 2017-05-09 · in BBR, the new kid on the TCP block -
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…
comment by vbernat · 2017-04-13 · in Udp.c in Linux kernel pre-4.5 allows remote attackers to execute arbitrary code -
…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...
comment by cyphar · 2017-03-29 · in Rootless containers feature merged into runC -
…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 -
…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 -
Some more from Linus: https://github.com/torvalds/linux/pull/17#issuecomment-56637...
comment by tyingq · 2017-03-17 · in How to Write a Git Commit Message (2014) -
…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
comment by pbh101 · 2017-03-16 · in How to Write a Git Commit Message (2014) -
…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 -
…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…
comment by int_handler · 2017-03-09 · in Show HN: Boot Windows 10 Directly into Linux Desktop of Choice -
…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 -
…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,…
comment by aseipp · 2017-02-22 · in Linux kernel: CVE-2017-6074: DCCP double-free vulnerability (local root) -
…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
comment by glandium · 2017-02-22 · in The Impact Github is Having on Your Software Career -
More on vGPU here https://github.com/torvalds/linux/blob/5824f92463e978f27985b...
comment by ereli1 · 2017-02-20 · in Linux Kernel 4.10 Officially Released with Virtual GPU Support, Many Features -
…commits come from Rusty Russel, who wrote the lguest toy hypervisor documentation as a story: https://github.com/torvalds/linux/commit/f938d2c892db0d80d14...
comment by SEJeff · 2017-02-14 · in The Biggest and Weirdest Commits in Linux Kernel Git History -
…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…
comment by geocar · 2017-02-12 · in Mkfile(8) is severely syscall limited on OS X -
…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 -
Linus disagrees. https://github.com/torvalds/linux/pull/17#issuecomment-56546...
comment by ma2rten · 2017-01-20 · in Maintainers Don't Scale -
…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 -
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 -
> 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? -
…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? -
…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 -
…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 -
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...
comment by posterboy · 2016-12-09 · in Linux kernel maintainer says no to AMDGPU patch -
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 -
…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? -
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? -
…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? -
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? -
…%/,%,$(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 -
Looks like it might be (partially) supported: https://github.com/torvalds/linux/search?utf8=%E2%9C%93&q=MT...
comment by cheiVia0 · 2016-11-05 · in VoCore2 Lite – A $4, coin-sized, open-source Linux computer