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. …that's missing from "Part1" is the display system. But there is a driver in mainline Linux for that https://github.com/torvalds/linux/blob/master/drivers/gpu/dr...
    comment by floatboth · 2018-08-18 · in Arm Announces Client CPU Roadmap For Laptops
  2. …never included by the source file. That is totally opposite to my experience. Example from Linux: https://github.com/torvalds/linux/blob/master/kernel/smpboot... https://github.com/torvalds/linux/blob/master/kernel/smpboot...
    comment by dingo_bat · 2018-07-26 · in Modern C++ for C Programmers: part 5
  3. …codes" are probably just #define macros somewhere in the kernel repo, in my case it was in [1] [1] https://github.com/torvalds/linux/tree/master/drivers/platfo...
  4. …implementation in Linux returns -EISDIR, but filesystems are free to change it to something else: https://github.com/torvalds/linux/blob/2a56bb596b2c1fb612f99... https://github.com/torvalds/linux/search?p=1&q=generic_read_...
    comment by rzzzt · 2018-07-21 · in In Unix Everything Is a File
  5. I actually started using the GOPATH structure for all my repos after discovering three full checkouts of github.com/torvalds/linux [1] on my drive. [1] I know it's not the official upstream remote, but I find this one the easiest to…
    comment by majewsky · 2018-07-15 · in Taking Go modules for a spin
  6. …that has its own internal SRAM as a framebuffer. a good example is the HX8357D (now obsolete sadly) https://github.com/torvalds/linux/blob/master/drivers/video/... technically speaking it's perfectly possible to use an 8mhz 8-bit…
  7. Correct source of comment is elsewhere in that thread [1] [1] https://github.com/torvalds/linux/pull/17#issuecomment-56613...
  8. …best places to host a project. It's fast, it's efficient, it works, and it's available to anybody. https://github.com/torvalds/linux/pull/17#issuecomment-56546...
  9. …if a rseq region is set. The added cost to a context switch seems essentially limited to a branch: https://github.com/torvalds/linux/commit/d7822b1e24f2df5df98... The other benchmarks that were posted in the various threads leading to this…
  10. …speedup on the LTTng benchmark. To me as a non-kernel guy this doesn't sound very impressive.. [0] https://github.com/torvalds/linux/commit/d7822b1e24f2df5df98...
  11. What is an example of the "per-cpu data" they're talking about here[0]? [0] https://github.com/torvalds/linux/blob/d82991a8688ad128b46db...
  12. The accept call on Linux: - invokes the accept() function of the socket family: https://github.com/torvalds/linux/blob/be779f03d563981c65cc7... - which invokes the accept() function of the protocol: https://github.com/torvalds/linux/blob/be…
  13. …the kernel interfaces are not stable, by choice. Here is the explanation from the kernel docs: https://github.com/torvalds/linux/blob/master/Documentation/...
    comment by filmor · 2018-06-12 · in Linux is Obsolete (1992)
  14. …distributed/diverse development community than decentralised tools and isolationist community. [1] https://github.com/torvalds/linux/pull/17#issuecomment-56546...
  15. …very interested in what will happen with these accounts (t name a few) the next few weeks / months: https://github.com/torvalds/linux https://github.com/mozilla https://github.com/google
  16. …they were used to use assembly jump instructions. But we don't abuse goto statments anymore. [1]: https://github.com/torvalds/linux/blob/master/net/socket.c#L...
  17. …as part of KVM, accessed through the /dev/kvm device with ioctl's. You can see part of it here: https://github.com/torvalds/linux/blob/master/arch/x86/inclu...
    comment by tmzt · 2018-04-12 · in Fuchsia is not Linux
  18. …X11 session and have it show up: it's a fake buffer that only shows up when KMS isn't in use. [0] https://github.com/torvalds/linux/blob/master/drivers/gpu/dr...
    comment by Jasper_ · 2018-04-04 · in Writing to the Framebuffer
  19. …any process to spy on other processes. ptrace_scope was apparently introduced in 2011-2012, see https://github.com/torvalds/linux/commits/a2e5790d841658485d... For more information: https://www.kernel.org/doc/Documentation/security/Yama.txt…
  20. …None for the Linux kernel, though, but it does have >20,000 forks on GitHub: https://github.com/torvalds/linux/network/members
  21. GitHub mirror: https://github.com/torvalds/linux/commit/ed875ea1fcc6c34ea23...
    comment by shakna · 2018-02-14 · in Farewell from Rusty Russell
  22. …to rate limit the acks it sends in this case, but it doesn't seem to have been committed [2] [1] https://github.com/torvalds/linux/commit/96e0bf4b5193d0d97d1... (although the comment says this is consistent with the RFC, it actually isn't)…
  23. …And it is relatively recent; it was added as a security measure in June 2007 for Linux 2.6.23 in https://github.com/torvalds/linux/commit/ed0321895182ffb6ecf... , about 40 years after the invention of NULL.
    comment by geofft · 2018-01-22 · in Redox OS Crash Challenge
  24. You don't understand. This is a list of people who have ownership over some part of Linux: https://github.com/torvalds/linux/blob/master/MAINTAINERS Linus might have the "final say" but all of the work and knowledge is encapsulated in…
    comment by Sir_Cmpwn · 2018-01-19 · in Meltdown and Spectre Linux Kernel Status
  25. …out the links from this comment. [1]: https://twitter.com/grsecurity/status/947147105684123649 [2]: https://github.com/torvalds/linux/commit/f55f0501cbf65ec41cc... [3]: https://tglx.de/~tglx/patches-pti-184.tar.bz2
  26. …is correct (4c48abe91be03d191d0c20cc755877da2cb35622), but it was not in 4.12 as cut by linus. https://github.com/torvalds/linux/commit/4c48abe91be03d191d0... (click the little '...' to expand tags it's in) or: $ git tag --contains…
  27. …[k] put_page 1.36% cryptsetup [kernel] [k] blkcipher_walk_done so it's using the code from: https://github.com/torvalds/linux/blob/master/arch/x86/crypt... I don't know if using AVX would speed it up. openssl is faster (openssl speed -evp…
    comment by wolf550e · 2017-12-26 · in FreeBSD – a lesson in poor defaults
  28. …of not enabling in KConfig[2]. The question is did Ubuntu enable it by default and if so, why? [1] https://github.com/torvalds/linux/blob/master/Documentation/... [2] https://github.com/torvalds/linux/blob/8afda8b26d01ee26a60ef...
  29. …interfaces are very stable, with an ABI docs directory breaking out what is and isn't. https://github.com/torvalds/linux/blob/e7aa8c2eb11ba69b1b690... If the kernel's user interface just started blocking on open for 4000 milliseconds for…
    comment by peterwwillis · 2017-12-19 · in Firefox 57 delays requests to tracking domains
  30. …spent over 80% of its total running time in pageblock_pfn_to_page (this was on a 4.4 kernel, https://github.com/torvalds/linux/blob/v4.4/mm/compaction.c#... ) and a total of 97% of the total time in hugepage compaction kernel code.…
    comment by lorenzhs · 2017-11-28 · in Disable transparent hugepages
  31. …at [1].) One scanout overlay is already in use on all major OS's, to draw the mouse cursor. [1]: https://github.com/torvalds/linux/blob/e60e1ee60630cafef5e43...
    comment by pcwalton · 2017-11-21 · in Desktop compositing latency is real
  32. Source for those interested: https://github.com/torvalds/linux/blob/master/lib/refcount.c I'm kind of surprised that the authors went with compare-and-exchange for their ref count, rather than get-and-increment. Even if the counter does…
    comment by anameaname · 2017-11-16 · in Towards Linux Kernel Memory Safety
  33. …browser internals are more like kernel space, which the Linux kernel breaks, all the time [1]. [1]: https://github.com/torvalds/linux/blob/e7aa8c2eb11ba69b1b690...
    comment by pcwalton · 2017-11-15 · in Firefox 57.0 Released
  34. …hardware accelerated in KVM. Searching for CONFIG_XEN_PVHVM, it doesn't appear to cover much. [1] https://github.com/torvalds/linux/blob/master/arch/x86/xen/
    comment by abdulla · 2017-11-07 · in C5 Instances for EC2 Now Available
  35. …unaligned-memory-access.txt useful. Ref:- Linux Kernel Source: UNALIGNED MEMORY ACCESSES Link: https://github.com/torvalds/linux/blob/master/Documentation/...
    comment by drake01 · 2017-11-05 · in The Lost Art of C Structure Packing
  36. That's been experimental for a long time - https://github.com/torvalds/linux/tree/master/fs/9p I guess file systems don't go into staging/?
    comment by voltagex_ · 2017-10-31 · in Writing a 9P server from scratch (2016)
  37. Here you go: https://github.com/torvalds/linux/commit/692b48258dda7c302e7... I do understand what you're saying though but I don't think people are going to just search Github for your name on the off-chance that you're on there, I suspect…
    comment by Sean1708 · 2017-10-26 · in I have no side code projects to show you
  38. …going to be isolated in an island because he's not part of the agreed-upon workflow: emails. [1] https://github.com/torvalds/linux/blob/master/Documentation/...
  39. >> And your point doesn't always hold true. For example https://github.com/torvalds/linux/pull/17 > I don't know what this is supposed to mean What I linked to is an example of a discussion that didn't stay focused or tight despite the…
  40. …I don't know what this is supposed to mean: > And your point doesn't always hold true. For example https://github.com/torvalds/linux/pull/17
  41. …can always collapse or kill that subthread. And your point doesn't always hold true. For example https://github.com/torvalds/linux/pull/17
  42. …of data to work with (yay! ...not). https://wiki.ubuntu.com/DebuggingKernelSuspend , useful info in https://github.com/torvalds/linux/blob/e34bac726d27056081d02... > So an interesting thing happens when the system tries to transform that…
  43. …and does a lot of upstream kernel patches, some of which haproxy benefit from. Most recent example: https://github.com/torvalds/linux/commit/3979ad7e82dfe3fb94a... Willy also was the long term maintainer of the 2.4 Linux kernel (yes...…
  44. …you want a good reference for their values; however, the register definitions aren't provided. x86: https://github.com/torvalds/linux/blob/master/arch/x86/entry... x64: https://github.com/torvalds/linux/blob/master/arch/x86/entry...
    comment by jared0x90 · 2017-09-26 · in Linux System Call Table
  45. …frequency, and software filtering raw data properly (duplicates and such). Some improvements https://github.com/torvalds/linux/commit/c774326a219536ab615...
  46. …I've actually been researching precisely that of late; you most likely generated your copy from https://github.com/torvalds/linux/blob/master/arch/x86/entry... . I of course want https://github.com/torvalds/linux/blob/master/arch/x86/entry.…
    comment by exikyut · 2017-09-19 · in Fresh IDE
  47. …than the PC-world. Thankfully support for Apples way will land in the upcoming Linux 4.14 ( https://github.com/torvalds/linux/commit/53ac64aac9af8cd0e54... ) making some code in the driver redundant ( https://github.com/cb22/macbook12-spi-d…
    comment by Dunedan · 2017-09-18 · in Thinkpad X62
  48. Maybe the link should be updated to use the 4.13 tag [0] instead of the master branch. [0] https://github.com/torvalds/linux/blob/v4.13/Documentation/n...
    comment by TheAceOfHearts · 2017-09-04 · in TLS in Linux 4.13 kernel
  49. …by (rather strong) convention tags are immutable, you can link to a tag instead. In this case: https://github.com/torvalds/linux/blob/v4.13/Documentation/n... That link is also better because it explicitly shows the version of the repo…
  50. …supported in an emulation layer for new DRM-based devices. Mostly for fbcon, but still supported. https://github.com/torvalds/linux/blob/master/drivers/gpu/dr...
    comment by Jasper_ · 2017-08-30 · in Intro to Low-Level Graphics on Linux