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. …a legacy config. We build up a comma-separated list of options. It looks to be the second one. [0] https://github.com/torvalds/linux/commit/3e1aeb00e6d132efc15...
  2. Most user-space code is not difficult to port. An operating system is much more work. Take a look at https://github.com/torvalds/linux/tree/master/arch/arm64
  3. …kernel modules here: https://elinux.org/Android_Kernel_Features#List_of_kernel_fe... [1] ashmem https://github.com/torvalds/linux/blob/master/drivers/stagin... [2] hwbinder https://github.com/torvalds/linux/tree/master/drivers/androi...
    comment by testtesttestte · 2022-01-04 · in Android in Docker without QEMU/emulator
  4. …user space to see all the potentials sources of additional latency a call like getpid() may incur: https://github.com/torvalds/linux/blob/c9e6606c7fe92b50a02ce... Again this is not by accident, this is on purpose. You’ll find a similar…
    comment by CyberRabbi · 2022-01-03 · in Fixing stutters in Papers Please on Linux
  5. …casing) * Ubiquiti UniFi 6 LR * Also some others See here the open source wifi driver for MT7915: https://github.com/torvalds/linux/tree/master/drivers/net/wi...
  6. …my understanding that Intel has no plans to support. See the following link for supported devices. https://github.com/torvalds/linux/blob/bbf5c979011a099af5dc7...
    comment by broknbottle · 2021-12-03 · in OS X-KVM: Run macOS on QEMU/KVM
  7. Linus takes a seemingly opposite stance when discussing word-wrapping commit messages: https://github.com/torvalds/linux/pull/17#issuecomment-56611...
    comment by jonahx · 2021-11-28 · in Linus on Line Breaks (2020)
  8. …It is stable and language agnostic. The interface is defined at the processor architecture level. https://github.com/torvalds/linux/blob/master/Documentation/... https://man7.org/linux/man-pages/man2/syscall.2.html Any compiler can emit…
  9. …not actually required for kernel system calls. The binary interface is stable and will not change. https://github.com/torvalds/linux/blob/master/Documentation/... On Windows and other operating systems, things such as system call numbers…
  10. …because I discovered the Linux itself has a better solution that they use for their own tools: > https://github.com/torvalds/linux/blob/master/tools/include/... 1: https://news.ycombinator.com/item?id=29106179
  11. …them with the relevant memory barriers (which are especially important on ARM CPUs). [0] https://github.com/torvalds/linux/blob/master/Documentation/... [1] https://doc.rust-lang.org/std/intrinsics/fn.volatile_store.h...
    comment by exDM69 · 2021-11-05 · in What memory model should Rust use?
  12. …of the Linux vDSO, some random bytes, program file name, user and group IDs, among other things. https://github.com/torvalds/linux/blob/master/include/uapi/l... https://github.com/torvalds/linux/blob/master/arch/x86/inclu...…
  13. …how to get that driver[1] to compile and loaded as a kernel module was very educational. [1] https://github.com/torvalds/linux/blob/master/drivers/net/sb...
  14. …Someday (when the parts shortage is over), I may productize it. https://www.w6rz.net/ofdm3.png https://github.com/torvalds/linux/blob/master/drivers/media/...
    comment by drmpeg · 2021-10-28 · in Open IP over VHF/UHF Part 5
  15. …://man7.org/linux/man-pages/man2/syscalls.2.html https://man7.org/linux/man-pages/man2/syscall.2.html https://github.com/torvalds/linux/blob/master/Documentation/...
  16. > https://github.com/torvalds/linux/blob/master/tools/include/ ... Cool, thanks for sharing! > I really want to get into this. Hope to see more links on that topic popping up on HN. Are you aware, beyond "raw" OpenGL, of any GUI/TUI…
    comment by southerntofu · 2021-10-24 · in OK Lenovo, we need to talk
  17. …this but then I discovered the kernel developers themselves already made one for their own tools. https://github.com/torvalds/linux/blob/master/tools/include/... People can include this awesome header file in a freestanding C project and…
    comment by matheusmoreira · 2021-10-24 · in OK Lenovo, we need to talk
  18. …before returning. This technique is used in C programs (see Linux Kernel code example here: https://github.com/torvalds/linux/blob/master/fs/ext4/block_... )
  19. …guests. I know that this was looked at a few year ago and no one had made it work then. 0: https://github.com/torvalds/linux/blob/2f111a6fd5b5297b4e92f...
    comment by InvaderFizz · 2021-10-22 · in Show HN: vGPU and SR-IOV on consumer GPUs
  20. …[2] https://github.com/illumos/illumos-gate/blob/master/usr/src/... [3] https://github.com/torvalds/linux/blob/master/arch/s390/incl... [4] https://github.com/torvalds/linux/blob/master/Documentation/... [5] https://github.com/tor
  21. …doing any system specific syscalls and learning about calling conventions you won't get very far. https://github.com/torvalds/linux/blob/master/arch/x86/entry... (subject to change, see your specific kernel source) I think more fun is…
  22. …this point. It doesn't take that much more assembly code to bootstrap C in the Linux kernel on x86: https://github.com/torvalds/linux/blob/master/arch/x86/boot/... There are a bunch of other headers in that file, but the "start_of_setup:"…
  23. …had a hard limit at 128KiB for args + env on x86. After the change it was variable up to 2MiB. https://github.com/torvalds/linux/commit/b6a2fea39318e43fee8...
    comment by jeffbee · 2021-10-06 · in Moving Google toward the mainline
  24. …://man7.org/linux/man-pages/man2/syscalls.2.html https://man7.org/linux/man-pages/man2/syscall.2.html https://github.com/torvalds/linux/blob/master/Documentation/... Only on Linux is GNU truly just some optional userland. You can throw it…
    comment by matheusmoreira · 2021-09-30 · in What the GNU?
  25. …g.rchapman.org/posts/Linux_System_Call_Table_for_x... [2] http://asm.sourceforge.net/syscall.html [3] https://github.com/torvalds/linux/blob/master/ipc/syscall.c
  26. …[0][1], making Wine ... closer to a WSL1 equivalent?) [0] https://lkml.org/lkml/2020/8/10/1323 [1] https://github.com/torvalds/linux/blob/master/include/linux/...
    comment by spijdar · 2021-09-10 · in Windows Subsystem for Linux GUI
  27. “Linux releases as GPLv2 or later for example” Linux doesn’t use “or later”. https://github.com/torvalds/linux/blob/master/COPYING : The Linux Kernel is provided under: SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note Being under…
    comment by Someone · 2021-09-09 · in 60x speed-up of Linux “perf”
  28. …listed here and the underlying systems supporting them. How long could that take, a whole weekend? https://github.com/torvalds/linux/blob/master/arch/x86/entry...
  29. …the topic is your code not your person No he definitely attacks people's person. "You're a moron." https://github.com/torvalds/linux/pull/17#issuecomment-56599...
  30. …because the Go runtime itself was supposed to properly interoperate with a C library but didn't. https://github.com/torvalds/linux/blob/master/Documentation/... > These functions are called just like ordinary C function according to your…
  31. …computing, and to- EventSourcing style- extend the graph of computing as we might see fit. [1] https://github.com/torvalds/linux/tree/master/drivers/leds/t... [2] https://news.ycombinator.com/item?id=28348148
  32. …then also wasn't standard-compliant [2], [3]. [1]: https://github.com/Dunedan/mbp-2016-linux [2]: https://github.com/torvalds/linux/commit/124298bd03acebd9c9d... [3]: https://lists.infradead.org/pipermail/linux-nvme/2017-Februa...
    comment by Dunedan · 2021-08-23 · in Gnome Shell on the Apple M1, bare metal
  33. …or processes are just tasks to the kernel. Kernel threads, which are not user space are different. https://github.com/torvalds/linux/blob/master/include/linux/... The sched wouldn't be able to use a Red-Black trees in the way it does if it…
    comment by nyrikki · 2021-08-20 · in System CPU Usage and Glibc
  34. …For instance, check the linux kernel's explanation of circular buffers and how to use them [1]. [1] https://github.com/torvalds/linux/blob/master/Documentation/... > What does it mean to "relax an edge"? Why do we need to do it V-1 times?…
    comment by kilburn · 2021-08-07 · in Reflections on 10k Hours of Programming
  35. …as explaining how the code is doing something. For example take the app limited detection function: https://github.com/torvalds/linux/blob/master/net/ipv4/tcp_r...
    comment by juancb · 2021-08-06 · in Reflections on 10k Hours of Programming
  36. …random number generation... Too slow to be useful, and the BCM283x SoC already has an internal RNG: https://github.com/torvalds/linux/blob/master/drivers/char/h... > ... or hardware-accelerated hashing The TPM is on a really slow bus (33…
  37. …is making their porting efforts difficult. This commit in upstream ends up getting split in half: https://github.com/torvalds/linux/commit/8ce29c679a6ecefb88d... With only 3 lines of it getting pulled into i40e-2.13.10:…
    comment by nik_0_0 · 2021-07-30 · in Hunting a bug in the i40e Intel driver
  38. …fewer mistakes -vs- confusion where pointers and integers degrade to a common type. A random line: https://github.com/torvalds/linux/blob/122fa8c588316aacafe7e... > void crypto_aead_clear_flags(struct crypto_aead *tfm, u32 flags) These are…
    comment by viraptor · 2021-07-24 · in Rust for Linux redux
  39. …I interpret it as a way to compete against(proprietary) CUDA dominance, but maybe that is wrong? https://github.com/torvalds/linux/tree/master/drivers/gpu/dr...
    comment by flakiness · 2021-07-21 · in Reverse-Engineering the Mali G78
  40. Didn't see a link to the fix. Here it is: https://github.com/torvalds/linux/commit/b29c457a65114359601...
  41. Torvalds did weigh in on it. It's disabled by default because it apparently breaks some legacy stuff. https://github.com/torvalds/linux/commit/561ec64ae67ef25cac8...
    comment by tyingq · 2021-07-06 · in Posix hardlink heartache
  42. …Thanks for the verbatim quote, "namespace lookup" found the source of the message immediately: https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5... . So this uses acpi_os_printf() (defined at…
  43. …series to send to the proper reviewers and mailing lists”. Also, Linux is already mirrored to GH https://GitHub.com/torvalds/Linux
    comment by judge2020 · 2021-06-23 · in Pulling GitHub into the Linux kernel process
  44. Sadness trigger warning, brace yourself: https://github.com/torvalds/linux
  45. …this. The Linux kernel itself has a nolibc.h file that they use for their own freestanding tools: https://github.com/torvalds/linux/blob/master/tools/include/... It's even better than what I came up with. Permissively licensed. Supports…
    comment by matheusmoreira · 2021-06-21 · in Ask HN: How to learn proper systems programming?
  46. …(note the double --force). Potentially of interest: `__noreturn machine_real_restart` in reboot.c ( https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5... ) Bonus points for additionally finding a way to trigger the "secure erase"…
  47. There's code in the Linux FTDI driver that correctly handles the bricked FTDI clones: https://github.com/torvalds/linux/blob/master/drivers/usb/se...
    comment by jah · 2021-06-15 · in FTDI FT232RL: Real vs. Fake (2014)
  48. …Public License version 2 only [1] https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html [2] https://github.com/torvalds/linux/blob/master/COPYING
    comment by throwaway2037 · 2021-06-04 · in An Unbelievable Demo
  49. …Linux kernel has tons of refcounting, so much so that it has a utility file for reference counters: https://github.com/torvalds/linux/blob/master/include/linux/... )
  50. …are usually submitted as standalone commits. You can find tests for several kernel subsystems here: https://github.com/torvalds/linux/tree/master/tools/testing
    comment by caskstrength · 2021-05-09 · in Dropping cache didn’t drop cache