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
-
…on the same "worst-case" page: https://git.sr.ht/~sircmpwn/linux/tree/master/arch/arm/boot/... https://github.com/torvalds/linux/tree/master/arch/arm/boot/... https://gitlab.com/ddevault/linux/-/tree/master/arch/arm/boo... cold cache warm…
comment by ddevault · 2020-04-15 · in GitHub’s new offer closely matches that from GitLab -
…operation, but it lacks ioctl, so it is not sufficient for total replacement in all cases. [0]: https://github.com/torvalds/linux/blob/master/include/uapi/l... search IORING_OP_
comment by Veserv · 2020-04-06 · in Io_uring By Example: cat, cp and a web server with io_uring -
…like at least something of a bad idea, because that implementation (if my search-fu is correct) is: https://github.com/torvalds/linux/blob/master/crypto/aes_gen... Which is obviously not constant time, and will leak information through…
comment by nullc · 2020-03-25 · in Speeding up Linux disk encryption -
…that a diminishing number of people have seniority in. 96% of the Linux kernel is written in C ( https://github.com/torvalds/linux ).
comment by worldsayshi · 2020-03-13 · in Why I’m Using C -
…assume Linux had a workaround. But you are right, it just prints you got the bug and that's that https://github.com/torvalds/linux/search?q=X86_BUG_FDIV&unsc...
comment by flatiron · 2020-03-10 · in New flaw in Intel chips lets attackers slip their own data into secure enclave -
The article mentions a mismatch of 4KB (Linux) vs 16KB (iOS) page sizes. Further reading: https://github.com/torvalds/linux/blob/master/Documentation/... https://developer.apple.com/library/archive/documentation/Pe...
comment by petecox · 2020-03-05 · in Corellium releases tool to run Android on an iPhone: Sandcastle -
…source tree and haven't found anything similar. [0] EK was such an interesting product. 0. https://github.com/torvalds/linux/tree/master/drivers/char/h...
comment by anonsivalley652 · 2020-02-15 · in Security recommendations for any device that depends on random numbers (2013) -
Nice! Here are the links: Varnish --> https://github.com/varnishcache/varnish-cache Linux Kernel --> https://github.com/torvalds/linux
comment by eindiran · 2020-02-14 · in To become a good C programmer (2011) -
…can take time to root-cause. Haven't tested on 5.x kernels, but similar code is still present: https://github.com/torvalds/linux/blob/master/init/initramfs...
comment by transpute · 2020-01-26 · in Distri: 20x faster initramfs (initrd) from scratch -
…you can't without recompiling the kernel, it's defined in the source in include/net/sock.h here: https://github.com/torvalds/linux/blob/master/include/net/so...
comment by parliament32 · 2020-01-23 · in Persistant SSH Threats? -
KernelPRBot on https://github.com/torvalds/linux/pulls just asks you to use the mailing list.
comment by scarejunba · 2020-01-20 · in My FOSS Story -
This is apparently the reason the Linux kernel has a heapsort implementation. https://github.com/torvalds/linux/blob/master/lib/sort.c
comment by henning · 2020-01-09 · in A Killer Adversary for Quicksort (1999) [pdf] -
…It uses get_random_bytes(), which is documented as "equivalent to a read from /dev/urandom." https://github.com/torvalds/linux/blob/v5.4/fs/binfmt_elf.c#...
comment by geofft · 2020-01-08 · in Removing the Linux /dev/random blocking pool -
…userspace PRNG. I guess you shouldn't be leaking cookies....) Linux added this in v2.6.29 (2009) in https://github.com/torvalds/linux/commit/f06295b4 , and glibc in 2009 added support for using it if available to set up cookies (it…
comment by geofft · 2020-01-08 · in Removing the Linux /dev/random blocking pool -
Which has concerns that it may be backdoored by intelligence agencies: https://github.com/torvalds/linux/blob/6398b9fc818eea79dcd6e...
comment by saagarjha · 2020-01-07 · in Removing the Linux /dev/random blocking pool -
…XU is apparently still in hiding after receiving threats of a good kicking ... https://sourcegraph.com/github.com/torvalds/linux@fd6988496e...
comment by harryf · 2019-12-30 · in The Linux codebase has over 3k TODO comments, many from over a decade ago -
On my end the URL is https://todos.tickgit.com/browse?repo=https://github.com/tor... Perhaps your problem is caused by some browser addon.
comment by xeeeeeeeeeeenu · 2019-12-30 · in The Linux codebase has over 3k TODO comments, many from over a decade ago -
…time the challenge is technical, not political, as Linux kernel doesn’t have stable API nor ABI: https://github.com/torvalds/linux/blob/master/Documentation/...
comment by Const-me · 2019-12-23 · in Show HN: Linux driver for the Xbox One wireless dongle -
…instruction on any real platform? Linux has it be ish/dsb because nothing seems to support it: https://github.com/torvalds/linux/blob/cef7298262e9af841fb70...
comment by saagarjha · 2019-12-18 · in ARM64 CPUs speculatively execute instructions after ERET -
…[1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/er... [3] https://github.com/torvalds/linux/blob/0d7614f09c1ebdbaa1599...
comment by segfaultbuserr · 2019-12-15 · in Dissecting Linux Kernel Code -
No, see the source from Linux kernel: https://github.com/torvalds/linux/blob/master/arch/x86/Kconf... For all x86 processors, now there is a name "X86_32" which "depends on !64BIT" (i.e. 64BIT flag has to be off). and there is a name…
comment by acqq · 2019-12-12 · in Lots of bugs in 32-bit x86 Linux entry code -
…at least. [0] Scanning the x86_64 JIT compiler for example yields no mention of SIMD instructions: https://github.com/torvalds/linux/blob/master/arch/x86/net/b...
comment by jsd1982 · 2019-12-03 · in BPF: A New Type of Software -
…/github.com/golang/go/issues/35326#issuecomment-55821... They have bisected the kernel and found that https://github.com/torvalds/linux/commit/d9c9ce34ed5c892323c... is the culprit. Apparently, it introduces changes in the signal handling…
comment by alderz · 2019-11-26 · in Go issue: memory corruption on Linux 5.3.x from async preemption -
There is a technical rationale that should be read to understand kernel dev's PoV : https://github.com/torvalds/linux/blob/master/Documentation/...
comment by sheepdestroyer · 2019-11-25 · in Are We Wayland Yet? -
…way to be introduced to memory barriers in general, and the Alpha memory model in particular. https://github.com/torvalds/linux/blob/master/Documentation/...
comment by ridiculous_fish · 2019-11-21 · in Myths Programmers Believe about CPU Caches (2018) -
…Hackertyper is absolutely using real code. Specifically, it's using groups.c from the Linux kernel: https://github.com/torvalds/linux/blob/master/kernel/groups.... Compare that to the code used by Hackertyper:…
comment by Sohcahtoa82 · 2019-11-16 · in Codem Ipsum: Lorem Ipsum but for Code -
…more bizarre that this seems to apply only for the new CPUs with MDS mitigated. For older CPUs, https://github.com/torvalds/linux/blob/eb094f06963bb0fd8134c... which contains "The system will use VERW to clear CPU buffers. Cross-thread…
comment by my123 · 2019-11-14 · in TSX turned off outright as the default for TAA-affected Intel CPUs on Linux -
…__my_struct_t { struct __my_struct_t* link; } my_struct_t; And some examples in the Linux Source: https://github.com/torvalds/linux/blob/9331b6740f86163908de6... https://github.com/torvalds/linux/blob/6cdc577a18a616c331f57... And FreeBSD:…
comment by deaddodo · 2019-11-10 · in Principles for C Programming -
…a stable ABI for drivers. Drivers that aren't in the kernel source tree will eventually break. https://github.com/torvalds/linux/blob/master/Documentation/...
comment by wcoenen · 2019-11-08 · in Software Updates -
…and -O3 as well. I think there is a measurable performance improvement in benchmarks in some cases. https://github.com/torvalds/linux/blob/15f5db60a13748f44e5a1...
comment by bcaa7f3a8bbc · 2019-11-05 · in Build OpenJDK for a Nice Speedup -
…directly from EFI. [0] - https://www.kernel.org/doc/html/latest/admin-guide/efi-stub.... [1] - https://github.com/torvalds/linux/blob/master/Documentation/...
comment by tsuraan · 2019-11-03 · in Kexecboot: Linux-As-a-Bootloader implementation based on kexec -
Git is an immutable history of all work ever done on code. Take a look here: https://github.com/torvalds/linux/commits/master And here: https://lkml.org/ Wikipedia does a pretty good job of maintaining document and discussion history as…
comment by anon9001 · 2019-11-02 · in Doing a Job (1982) -
…IDE CD-ROM and get along with prior DOS/Windows on the same disk, Linux was way ahead. [1] https://github.com/torvalds/linux/blob/master/drivers/scsi/s...
comment by tzs · 2019-11-01 · in Linus Torvalds: Git proved I could be more than a one-hit wonder -
…change was made and why, who was involved, who signed off on it, etc. Have a look at the commits at https://github.com/torvalds/linux/commits/master
comment by Cthulhu_ · 2019-10-18 · in My Favourite Git Commit -
…covers nopti, nospectre_v1, nospectre_v2, l1tf=off, nospec_store_bypass_disable and mds=off.[1] [1] https://github.com/torvalds/linux/blob/master/Documentation/...
comment by jupblb · 2019-10-13 · in How to make Linux run fast again on Intel CPUs -
…team make a commit per day. Linux on github is close to 900k [2] https://imgur.com/a/nCuOJHU https://github.com/torvalds/linux
comment by akerro · 2019-10-09 · in OpenBSD Crossed 400k Commits -
The initial commit the parent comment is referring to: https://github.com/torvalds/linux/commit/1da177e4c3f41524e88...
comment by MarkSweep · 2019-10-09 · in OpenBSD Crossed 400k Commits -
The Linux kernel is quickly approaching the 1M mark, currently sitting at 871k+[1] [1] https://github.com/torvalds/linux
comment by Alupis · 2019-10-09 · in OpenBSD Crossed 400k Commits -
Right, the author might not be aware of: https://github.com/torvalds/linux/blob/master/Documentation/... "The Linux Kernel is provided under the terms of the GNU General Public License version 2 only (GPL-2.0), as provided in…
comment by e12e · 2019-10-02 · in A New R6RS Scheme Compiler -
What is more, you can: 1. clone https://github.com/torvalds/linux into https://github.com/<YOURNAME>/linux . 2. push a fake "torvalds" commit into your repo. 3. check the SHA of the the commit that you made. 4. the commit will be visible…
comment by warpech · 2019-09-20 · in Git Blame-Someone-Else -
…off. Take a look at their repository, e.g. via github for ease of access. Here's a random commit: https://github.com/torvalds/linux/commit/e1e54ec7fb55501c33b... . Even with my complete lack of knowledge of kernel development, I can tell…
comment by Cthulhu_ · 2019-09-04 · in Linus’s rules on keeping Git history clean (2009) -
Beyond the exceptional mentioned texts dedicated to the subject; my favorite resources are: lwn.net github.com/torvalds/linux
comment by duckqlz · 2019-08-27 · in Ask HN: Recommended resources to learn the Linux kernel and OS theory? -
>A) Linus won't stablize kernel ABI Yes, but this is for very good reasons. https://github.com/torvalds/linux/blob/master/Documentation/...
comment by checktheorder · 2019-08-09 · in Linux Journal Ceases Publication: An Awkward Goodbye -
…might be better than the same policy with different parameters. Besides which, I'm looking at https://github.com/torvalds/linux/blob/master/mm/oom_kill.c and I genuinely can't see where root processes get privileged. I can see a reference…
comment by regularfry · 2019-08-06 · in The Linux kernel's inability to gracefully handle low memory pressure -
…just 3 months ago. Might be able to finally rely on it in Linux distros a few years from now! https://github.com/torvalds/linux/commit/b53b0b9d9a613c41805...
comment by mehrdadn · 2019-08-03 · in Killing a process and all of its descendants -
A very recent commit fixed some out-of-bounds and a divide-by-zero error: https://github.com/torvalds/linux/commit/47d6a7607443ea43dbc...
comment by gpvos · 2019-08-02 · in “I would like to maintain the floppy driver” -
…floppy maintainer in 2012: "I have fought the current maintainer to the death in the Thunderdome" https://github.com/torvalds/linux/commit/8206f664bfd7121e79f... Denis Efremov sent the security patches to floppy driver. Jiri orphaned the…
comment by dimoprhus · 2019-08-02 · in “I would like to maintain the floppy driver” -
https://github.com/torvalds/linux/commit/47d6a7607443ea43dbc...
comment by jagger27 · 2019-08-02 · in “I would like to maintain the floppy driver” -
…Greg K-H still released it from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin... and https://github.com/torvalds/linux .
comment by geofft · 2019-07-29 · in Malicious code in the purescript NPM installer -
…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…
comment by AdmiralAsshat · 2019-07-26 · in Asm-declaration – Embed assembly language code within a C++ program (2017)