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
-
…following modules: Getopt::Long, Getopt::Std, File::Basename, and File::Find to build the kernel." https://github.com/torvalds/linux/blob/2324d50d051ec0f14a548... That was added 11 years ago(!!) so it may be out of date.
comment by cbsks · 2020-09-30 · in Windows XP leak confirmed after user compiles the leaked code into a working OS -
https://github.com/torvalds/linux/search?q=perl
comment by Daviey · 2020-09-30 · in Windows XP leak confirmed after user compiles the leaked code into a working OS -
▲ 4
Linux Kernel Coding Stylestory by alphachloride · 2020-09-29 · 0 comments
-
https://github.com/torvalds/linux/blob/master/Documentation/... > So, if you have a Linux kernel driver that is not in the main kernel tree, what are you, a developer, supposed to do? [...] Simple, get your kernel driver into the main…
comment by AnIdiotOnTheNet · 2020-09-28 · in It used to be simpler to teach Unix -
For some value of "capable": https://github.com/torvalds/linux/blob/master/arch/riscv/con...
comment by jack12 · 2020-09-18 · in SiFive to Debut RISC-V PC for Developers Based on Freedom U740 Next-Gen SoC -
https://github.com/torvalds/linux/blob/master/include/uapi/l...
comment by mncharity · 2020-09-17 · in 433% Keyboard -
…:D NVMe should crash right now like it did on Linux before 5.4, but the Linux patch for that https://github.com/torvalds/linux/commit/66341331ba0d2de4ff4... is absolutely tiny, I could probably replicate these quirks in FreeBSD in a few…
comment by floatboth · 2020-09-17 · in Nova by Panic -
Why not? Even Linux itself has MIT/BSD2-3/GPL/LGPL https://github.com/torvalds/linux/search?o=asc&q=SPDX-LICENS... Those are the preferred licenses for Linux: https://github.com/torvalds/linux/tree/6f0d349d922ba44e4348a...
comment by nix23 · 2020-09-11 · in Huawei’s HarmonyOS is now open source -
…to me. It made me really appreciate the FHS's standardization of linux directories and files. [0] https://github.com/torvalds/linux/blob/master/init/main.c#L1...
comment by intsunny · 2020-09-02 · in Unix Wars (2000) -
…hangs around for decades after everybody stops using it – but it still hasn't been removed yet. [1] https://github.com/torvalds/linux/blob/master/fs/binfmt_aout... [2] https://www.lkml.org/lkml/2019/3/5/389
comment by skissane · 2020-08-10 · in Where do argc and argv come from? -
…of OS kernels are aware of these shenanigans. Here’s the implementation of queues in Linux: https://github.com/torvalds/linux/blob/4334f30ebf395b204c6cb... I never worked on that kernel, but on the first sight it looks like they’re using a…
comment by Const-me · 2020-08-08 · in On the Performance of User-Mode Threads and Coroutines -
…creation to not use specific CPUs... IDK of anyone publically maintaining a patchset, but look at https://github.com/torvalds/linux/blob/master/kernel/kthread... line 386. We've only been using SCHED_FIFO on Linux, which is basically…
comment by angry_octet · 2020-08-03 · in Low latency tuning guide -
You might be interested in Torvalds' low opinion of GitHub pull-requests. https://github.com/torvalds/linux/pull/17#issuecomment-56599... Discussed at: https://news.ycombinator.com/item?id=3960876 https://old.reddit.com/r/programming/commen…
comment by MaxBarraclough · 2020-07-28 · in OCaml: Add support to iOS/Mac ARM64 -
…supported "Other OS" mode) way before graphics was up. This code was eventually upstreamed: https://github.com/torvalds/linux/blob/master/arch/powerpc/p... By comparison, when I was doing (unofficial) Linux on PS4 we had the luxury of…
comment by marcan_42 · 2020-07-25 · in The source of the e1000e corruption bug (2008) -
…not locking the EEPROM. * 70% responsibility - Intel's EEWR that write directly into EEPROM. [3] https://github.com/torvalds/linux/commit/4a7703582836f55a1cb... [4] https://github.com/torvalds/linux/blob/4a7703582836f55a1cbad...
comment by segfaultbuserr · 2020-07-24 · in The source of the e1000e corruption bug (2008) -
…write without any initialization sequences is directly responsible for bricking the hardware. [0] https://github.com/torvalds/linux/blob/78566fecbb12a7616ae9a... [1] https://github.com/torvalds/linux/commit/78566fecbb12a7616ae... [2]…
comment by segfaultbuserr · 2020-07-24 · in The source of the e1000e corruption bug (2008) -
▲ 1
Linux-2.6.12-Rc2 (2005)story by SeekingMeaning · 2020-07-22 · 0 comments
-
https://github.com/torvalds/linux/blob/master/fs/btrfs/Kconf... None of the options are marked experimental. (Specific features are marked unstable on the status page) "Under heavy development" does not mean anything about stability. The…
comment by viraptor · 2020-07-20 · in In Praise of ZFS on Linux's ZED 'ZFS Event Daemon' -
…/ unproductive if you do not know the context. It doesn't work like that. Take any random commit on https://github.com/torvalds/linux/commits/master; most change just a handful of lines but I can guarantee that each of them represents a…
comment by Cthulhu_ · 2020-07-15 · in You've only added two lines – why did that take two days? -
…gone anywhere. Your kernel might not have support for it, but that doesn't mean it doesn't exist. https://github.com/torvalds/linux/tree/master/drivers/firewi...
comment by duskwuff · 2020-06-29 · in Linux Kernel Is Still Seeing Driver Work for the Macintosh II -
…break backwards compatibility. https://github.com/openbsd/src/blob/0970cb57551e0e8df6688f8a... https://github.com/torvalds/linux/blob/cb8e59cc87201af93dfbb...
comment by sigjuice · 2020-06-26 · in Questions: History of Ifconfig -
> new: https://github.com/torvalds/linux Looking at the repo's main page on a smartphone. The top "box" listing the latest commit message says: "torvalds committed 20... [...]" What the ...!!! I don't know if that was a "streamlining" or…
comment by zoomablemind · 2020-06-24 · in Ask HN: Thoughts on new GitHub layout? -
My favorite version of Github, is 2017... buttons looked like buttons and simplicity was embraced https://web.archive.org/web/20170924075025/https://github.co...
comment by gitgud · 2020-06-24 · in Ask HN: Thoughts on new GitHub layout? -
…action - cloning a repo. Old: https://web.archive.org/web/20200619163555/https://github.co... New: https://github.com/torvalds/linux It was always strange to have all the language info at the top
comment by bconnorwhite · 2020-06-23 · in Ask HN: Thoughts on new GitHub layout? -
It was a sub-heading in the Code section. See, e.g., https://web.archive.org/web/20200320205539/https://github.co...
comment by tom_ · 2020-06-23 · in Ask HN: Thoughts on new GitHub layout? -
Also fun to go back to a much earlier version: https://web.archive.org/web/20130807124247/https://github.co...
comment by treve · 2020-06-23 · in Ask HN: Thoughts on new GitHub layout? -
…and people are going to hate that. Having said that, I'm comparing using the Wayback Machine: new: https://github.com/torvalds/linux old: https://web.archive.org/web/20200619163555/https://github.co... and I can't find it in me to dislike…
comment by jolmg · 2020-06-23 · in Ask HN: Thoughts on new GitHub layout? -
…reason software isn't perfect, hardware (or the firmware powering that hardware) is neither. [1]: https://github.com/torvalds/linux/blob/b791d1bdf9212d944d749... [2]: https://lists.infradead.org/pipermail/linux-nvme/2017-Februa...
comment by Dunedan · 2020-06-12 · in Brilliant Hardware in the Valley of the Software Slump -
You are looking for /proc/<pid>/oom_score_adj: https://github.com/torvalds/linux/blob/15a2bc4dbb9cfed1c661a...
comment by cbsks · 2020-06-09 · in In defence of swap: common misconceptions -
…locals (which they may then get wrong). [0] https://www.infoq.com/presentations/Value-Values/ [1] https://github.com/torvalds/linux/blob/master/init/do_mounts... [2] https://github.com/torvalds/linux/blob/master/kernel/sched/c...
comment by MaxBarraclough · 2020-06-07 · in The Go Compiler Needs to Be Smarter -
…where you have contiguous memory for your framebuffer storage and no MMIO, try the CMA helpers: https://github.com/torvalds/linux/blob/master/drivers/gpu/dr... I wrote a basic device driver for a platform I worked on. It's since been…
comment by Jasper_ · 2020-06-04 · in Writing to the Framebuffer (2018) -
…itself has an excellent system call stubs header which they apparently use for their own tools: https://github.com/torvalds/linux/blob/master/tools/include/...
comment by matheusmoreira · 2020-06-03 · in Snakeware – Linux distro with Python userspace inspired by Commodore 64 -
…stage where you can do it, namely when writing it. Not when showing it.[1] - Linus Torvolds [1] https://github.com/torvalds/linux/pull/17#issuecomment-56611...
comment by pkilgore · 2020-05-29 · in But no, 80-column terminals in 2020 isn't “reasonable” any more -
This is what Linus has said in the past regarding soft-wrapping: https://github.com/torvalds/linux/pull/17#issuecomment-56611...
comment by u801e · 2020-05-29 · in But no, 80-column terminals in 2020 isn't “reasonable” any more -
…randomized so net.ipv4.tcp_timestamps should not need to be from the default 1 to 0, in my opinion. https://github.com/torvalds/linux/commit/95a22caee396cef0bb2...
comment by ffeiek · 2020-05-29 · in Linux Security Hardening and Other Tweaks -
…referenced here https://github.com/openssl/openssl/blob/f059e4cc435b7b850cfc... as defined here: https://github.com/torvalds/linux/commit/3c4d7559159bfe1e3b9... [1] https://www.kernel.org/doc/html/latest/networking/tls-offloa...
comment by shoo · 2020-05-29 · in OpenSSL 3.0 -
…would return an "impossible"[1] value. I presume the APFS bug's probably of a similar nature. [0] https://github.com/torvalds/linux/commit/d50147381aa0c9725d6... [1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/f...
comment by RJIb8RBYxzAMX9u · 2020-05-28 · in A bug in macOS 10.15.5 impacts bootable backups -
…call cancellation. The kernel's own nolibc.h provides a much better way to make system calls: https://github.com/torvalds/linux/blob/master/tools/include/...
comment by matheusmoreira · 2020-05-26 · in I/O library 6x faster than fmt, 10x faster than stdio.h and iostream -
…CONFIG_HZ, right? According to this[1], it can be 1ms to 10ms, with the default being 4ms. [1]: https://github.com/torvalds/linux/blob/master/kernel/Kconfig...
comment by ken · 2020-05-25 · in Linux 5.8 Set to Optionally Flush the L1d Cache on Context Switch -
…it was written specifically for dropwatch and dropwatch is the only user of it that I am aware of. https://github.com/torvalds/linux/blob/master/net/core/drop_...
comment by Ao7bei3s · 2020-05-20 · in Watch Where the Linux Kernel Drops a Packet -
…hypervisor in a blatant GPL violation. And yet here's where their paravirtualized GPU driver lives https://github.com/torvalds/linux/tree/master/drivers/gpu/dr...
comment by monocasa · 2020-05-20 · in DirectX is coming to the Windows Subsystem for Linux -
…(FreeBSD) * https://csrc.nist.gov/publications/detail/sp/800-90a/rev-1/f... (NIST) * https://github.com/torvalds/linux/blob/master/drivers/char/r... (Linux; I could not find a separate design document as such. Perhaps the best design…
comment by loeg · 2020-05-17 · in Entropy and the NetBSD Kernel -
…mechanism. The set of supported operations is already a subset of available Linux system calls: https://github.com/torvalds/linux/blob/master/include/uapi/l... It almost gained support for ioctl: https://lwn.net/Articles/810414/ Wouldn't…
comment by matheusmoreira · 2020-05-10 · in Lord of the io_uring: io_uring tutorial, examples and reference -
…The kernel has an awesome header that makes this easy and allows you to eliminate all dependencies: https://github.com/torvalds/linux/blob/master/tools/include/... This system call avoidance dogma exists because libraries generally have…
comment by matheusmoreira · 2020-05-10 · in Lord of the io_uring: io_uring tutorial, examples and reference -
…syscall is run anymore. [0]: https://github.com/moby/moby/commit/1124543ca8071074a537a15d... [1]: https://github.com/torvalds/linux/commit/93e35efb8de45393cf6... [2]: https://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/m... [3]:…
comment by roblabla · 2020-05-04 · in Why strace doesn't work in Docker -
…It's fine for hosting, but the pull requests and the online commit editing, are just pure garbage. https://github.com/torvalds/linux/pull/17#issuecomment-56546...
comment by bJGVygG7MQVF8c · 2020-05-02 · in Complexity Has to Live Somewhere -
…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