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
-
…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/
comment by u801e · 2021-05-03 · in The Linux kernel has surpassed one million git commits -
visible on the github repo https://github.com/torvalds/linux
comment by dorianmariefr · 2021-05-02 · in The Linux kernel has surpassed one million git commits -
…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] -…
comment by rincebrain · 2021-04-25 · in Open letter from researchers involved in the “hypocrite commit” debacle -
…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…
comment by saagarjha · 2021-04-24 · in Can you tell an assembly language when you see one? -
…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:…
comment by re · 2021-04-21 · in “They introduce kernel bugs on purpose” -
…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” -
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…
comment by ajross · 2021-04-21 · in “They introduce kernel bugs on purpose” -
This is one of the commits that went live with "built-in bug" according to Leon: https://github.com/torvalds/linux/commit/8e949363f017
comment by bmcahren · 2021-04-21 · in “They introduce kernel bugs on purpose” -
Here's the commit specifically identified by Leon Romanovsky as having a "built-in bug" https://github.com/torvalds/linux/commit/8e949363f017
comment by bmcahren · 2021-04-21 · in “They introduce kernel bugs on purpose” -
…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]:…
comment by ENOTTY · 2021-04-21 · in “They introduce kernel bugs on purpose” -
…was trying to bypass by identifying their commits as now being part of a personal hobby. [0] https://github.com/torvalds/linux/commit/6b389c16378a03fe71f...
comment by lolinder · 2021-04-20 · in IBM employee forced to stop kernel work under personal email address -
…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]…
comment by NovaX · 2021-04-19 · in Linux Kernel: The multi-generational LRU -
see: https://www.kernel.org/doc/html/latest/dev-tools/kunit/index... https://github.com/torvalds/linux/blob/master/tools/testing/...
comment by jand · 2021-04-12 · in Ask HN: Does Linux kernel covered by unit tests? -
The linux kernel also has some nice comments in its red black tree implementation. https://github.com/torvalds/linux/blob/master/lib/rbtree.c
comment by keeperofdakeys · 2021-04-09 · in Tree.h in OpenBSD: dependency-free intrusive binary tree (2002) -
…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 -
…yet. https://github.com/intel/compute-runtime https://github.com/intel/intel-graphics-compiler https://github.com/torvalds/linux/tree/master/drivers/gpu/dr...
comment by elihu · 2021-03-27 · in Intel's Ponte Vecchio Xe-HPC GPU Boasts 100B Transistors -
…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]…
comment by NovaX · 2021-03-14 · in Multigenerational LRU: more performant, versatile, straightforward than Linux's -
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 -
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…
comment by gsg · 2021-03-12 · in Drop millions of allocations by using a linked list (2015) -
…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) -
…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…
comment by geofft · 2021-03-10 · in Git: Malicious repositories can execute remote code while cloning -
Looks like it's still there: https://github.com/torvalds/linux/blob/master/fs/ext4/resize...
comment by lgregg · 2021-03-09 · in `three = 1` in the Linux sourcecode (2014) -
No changes: https://github.com/torvalds/linux/blob/master/fs/ext4/resize...
comment by aaossa · 2021-03-09 · in `three = 1` in the Linux sourcecode (2014) -
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…
comment by ronyeh · 2021-03-09 · in `three = 1` in the Linux sourcecode (2014) -
Explanatory comment: https://github.com/torvalds/linux/blob/d158fc7f36a25e19791d2...
comment by olarva · 2021-03-09 · in `three = 1` in the Linux sourcecode (2014) -
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) -
…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 -
…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 -
…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 -
…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 -
No. As someone else mentioned, the kernel hardcodes /bin/sh as a last resort: https://github.com/torvalds/linux/blob/dcc0b49040c70ad827a7f...
comment by fao_ · 2021-02-12 · in How Fat Does a Fat Binary Need to Be? -
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? -
…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 -
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.
comment by my123 · 2021-01-14 · in macOS Big Sur 11.2 beta 2 adds full custom kernel support -
…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
comment by wzdd · 2021-01-13 · in Using GPT-3 for plain language incident root cause from logs -
…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
comment by tyingq · 2021-01-11 · in iPhone 7 with dead NAND netbooting unmodified Ubuntu 20.04 via USB ethernet -
…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) -
…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 -
LGTM https://github.com/torvalds/linux/pull/684
comment by kitaisreal · 2020-12-09 · in Everything You Always Wanted to Know About GitHub (But Were Afraid to Ask) -
The actual code in the kernel is well documented (and different, lines 103-149): https://github.com/torvalds/linux/blob/master/include/linux/...
comment by ggrrhh_ta · 2020-12-07 · in Linus Torvalds' good taste argument for linked lists, explained -
…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) -
…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 -
…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 -
…make these definitions small ; the feature set of a modern GPU really is massively complex. [1] https://github.com/torvalds/linux/blob/c84e1efae022071a4fcf9...
comment by 0xcde4c3db · 2020-11-28 · in Linus Torvalds doubts Linux will get ported to Apple M1 hardware -
…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…
comment by dmitris · 2020-11-20 · in My First Kernel Module: A Debugging Nightmare -
…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 -
…issue page and PRs receive a polite comment on how to send their PRs as patches outside of github. https://github.com/torvalds/linux
comment by fabianhjr · 2020-11-15 · in Open Source does not mean “Includes Free Support” -
…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…
comment by fulafel · 2020-11-06 · in A Linux sysadmin's introduction to cgroups -
…of concept on the linux kernel repo [2]. [1] https://news.ycombinator.com/item?id=24976138 [2] https://github.com/torvalds/linux/tree/5895e21f3c744ed9829e3...
comment by EricLemieux · 2020-11-04 · in GitHub source code in DMCA repo pushed by GitHub CEO