home.social

Search

320 results for “kernellogger”

  1. ""WE ARE NOT PREEMPTIVELY SUPPORTING BIG-ENDIAN ON RISC-V""

    Linus send that to #LKML a few hours ago, after somebody asked if some of the big-endian work will make it into #Linux 6.18.

    For the full thread, see: lore.kernel.org/lkml/CAHk-%3Dw

    There he calls the reasons documented on riscv.org as "craziness" and insane:

    ""In other words, it is suggesting that RISC-V add a big-endian mode due to

    (a) internet protocols - where byte swapping is not an issue

    (b) using "some RISC-V implementations don't do the existing Zbb extension" as an excuse

    This is plain insanity. First off, even if byte swapping was a real cost for networking - it's not, the real costs tend to be all in memory subsystems - just implement the damn Zbb extension.""

    That's from lore.kernel.org/lkml/CAHk-%3Dw

    #riscv #kernel #LinuxKernel

  2. ""WE ARE NOT PREEMPTIVELY SUPPORTING BIG-ENDIAN ON RISC-V""

    Linus send that to #LKML a few hours ago, after somebody asked if some of the big-endian work will make it into #Linux 6.18.

    For the full thread, see: lore.kernel.org/lkml/CAHk-%3Dw

    There he calls the reasons documented on riscv.org as "craziness" and insane:

    ""In other words, it is suggesting that RISC-V add a big-endian mode due to

    (a) internet protocols - where byte swapping is not an issue

    (b) using "some RISC-V implementations don't do the existing Zbb extension" as an excuse

    This is plain insanity. First off, even if byte swapping was a real cost for networking - it's not, the real costs tend to be all in memory subsystems - just implement the damn Zbb extension.""

    That's from lore.kernel.org/lkml/CAHk-%3Dw

    #riscv #kernel #LinuxKernel

  3. ""WE ARE NOT PREEMPTIVELY SUPPORTING BIG-ENDIAN ON RISC-V""

    Linus send that to a few hours ago, after somebody asked if some of the big-endian work will make it into 6.18.

    For the full thread, see: lore.kernel.org/lkml/CAHk-%3Dw

    There he calls the reasons documented on riscv.org as "craziness" and insane:

    ""In other words, it is suggesting that RISC-V add a big-endian mode due to

    (a) internet protocols - where byte swapping is not an issue

    (b) using "some RISC-V implementations don't do the existing Zbb extension" as an excuse

    This is plain insanity. First off, even if byte swapping was a real cost for networking - it's not, the real costs tend to be all in memory subsystems - just implement the damn Zbb extension.""

    That's from lore.kernel.org/lkml/CAHk-%3Dw

  4. ""WE ARE NOT PREEMPTIVELY SUPPORTING BIG-ENDIAN ON RISC-V""

    Linus send that to #LKML a few hours ago, after somebody asked if some of the big-endian work will make it into #Linux 6.18.

    For the full thread, see: lore.kernel.org/lkml/CAHk-%3Dw

    There he calls the reasons documented on riscv.org as "craziness" and insane:

    ""In other words, it is suggesting that RISC-V add a big-endian mode due to

    (a) internet protocols - where byte swapping is not an issue

    (b) using "some RISC-V implementations don't do the existing Zbb extension" as an excuse

    This is plain insanity. First off, even if byte swapping was a real cost for networking - it's not, the real costs tend to be all in memory subsystems - just implement the damn Zbb extension.""

    That's from lore.kernel.org/lkml/CAHk-%3Dw

    #riscv #kernel #LinuxKernel

  5. ""WE ARE NOT PREEMPTIVELY SUPPORTING BIG-ENDIAN ON RISC-V""

    Linus send that to #LKML a few hours ago, after somebody asked if some of the big-endian work will make it into #Linux 6.18.

    For the full thread, see: lore.kernel.org/lkml/CAHk-%3Dw

    There he calls the reasons documented on riscv.org as "craziness" and insane:

    ""In other words, it is suggesting that RISC-V add a big-endian mode due to

    (a) internet protocols - where byte swapping is not an issue

    (b) using "some RISC-V implementations don't do the existing Zbb extension" as an excuse

    This is plain insanity. First off, even if byte swapping was a real cost for networking - it's not, the real costs tend to be all in memory subsystems - just implement the damn Zbb extension.""

    That's from lore.kernel.org/lkml/CAHk-%3Dw

    #riscv #kernel #LinuxKernel

  6. "An explanation of how #Linux handles system calls on x86-64 and why they show up as expensive operations in performance profiles

    blog.codingconfessions.com/p/w – from Abhinav Upadhyay

    #LinuxKernel #Kernel #syscalls

  7. The #Rust based #Tyr driver[1] for #Arm #Mali GPUs has reached #linux-next today and thus is slated for inclusion in #kernel 6.18:

    git.kernel.org/pub/scm/linux/k

    Congrats to everyone involved!

    ""It is a port of #Panthor and therefore exposes Panthor's uAPI and name to userspace, and the product of a joint effort between Collabora, Arm and Google engineers.

    The aim is to incrementally develop Tyr with the abstractions that are currently available until it is consider to be in parity with Panthor feature-wise. […]""

    [1] collabora.com/news-and-blog/ne

    #LinuxKernel

  8. The #Rust based #Tyr driver[1] for #Arm #Mali GPUs has reached #linux-next today and thus is slated for inclusion in #kernel 6.18:

    git.kernel.org/pub/scm/linux/k

    Congrats to everyone involved!

    ""It is a port of #Panthor and therefore exposes Panthor's uAPI and name to userspace, and the product of a joint effort between Collabora, Arm and Google engineers.

    The aim is to incrementally develop Tyr with the abstractions that are currently available until it is consider to be in parity with Panthor feature-wise. […]""

    [1] collabora.com/news-and-blog/ne

    #LinuxKernel

  9. The based driver[1] for GPUs has reached -next today and thus is slated for inclusion in 6.18:

    git.kernel.org/pub/scm/linux/k

    Congrats to everyone involved!

    ""It is a port of and therefore exposes Panthor's uAPI and name to userspace, and the product of a joint effort between Collabora, Arm and Google engineers.

    The aim is to incrementally develop Tyr with the abstractions that are currently available until it is consider to be in parity with Panthor feature-wise. […]""

    [1] collabora.com/news-and-blog/ne

  10. The #Rust based #Tyr driver[1] for #Arm #Mali GPUs has reached #linux-next today and thus is slated for inclusion in #kernel 6.18:

    git.kernel.org/pub/scm/linux/k

    Congrats to everyone involved!

    ""It is a port of #Panthor and therefore exposes Panthor's uAPI and name to userspace, and the product of a joint effort between Collabora, Arm and Google engineers.

    The aim is to incrementally develop Tyr with the abstractions that are currently available until it is consider to be in parity with Panthor feature-wise. […]""

    [1] collabora.com/news-and-blog/ne

    #LinuxKernel

  11. The #Rust based #Tyr driver[1] for #Arm #Mali GPUs has reached #linux-next today and thus is slated for inclusion in #kernel 6.18:

    git.kernel.org/pub/scm/linux/k

    Congrats to everyone involved!

    ""It is a port of #Panthor and therefore exposes Panthor's uAPI and name to userspace, and the product of a joint effort between Collabora, Arm and Google engineers.

    The aim is to incrementally develop Tyr with the abstractions that are currently available until it is consider to be in parity with Panthor feature-wise. […]""

    [1] collabora.com/news-and-blog/ne

    #LinuxKernel

  12. Mitigations for #vmscape have been merged to #Linux mainline and included in new stable and longterm #kernel versions released about an hour ago (like 6.16.7 or 6.12.47).

    Vmscape is a vulnerability that essentially takes Spectre-v2 and attacks host userspace from a guest. It particularly affects hypervisors like #QEMU.

    For more details see this #LinuxKernel merge commit git.kernel.org/torvalds/c/223b, the doc changes in contains at git.kernel.org/torvalds/c/9969, or the following page from those that published the vulnerability:

    comsec.ethz.ch/research/microa

    It is tracked as #CVE-2025-40300

    cve.org/CVERecord?id=CVE-2025-

  13. Recording (youtube.com/watch?v=05gfIRahZA8 ) and slides (static.sched.com/hosted_files/ ) from Werner Fischer's #OSSEU25 talk "The Power of the #DeviceMapper - From Dm-cache To Dm-zoned" are now online.

    From the abstract: "The device mapper has been part of the #LinuxKernel since #kernel version 2.6. It allows the creation of virtual block devices by mapping their address space to other block devices or special functions. In this way, it can map physical block devices such as hard disks or SSDs to higher-level virtual block devices. It is the basis for the Logical Volume Manager (LVM), #Linux software RAIDs and dm-crypt encryption, and provides additional features such as file system snapshots.

    However, the use of Device Mapper targets is not limited to that. Many other targets offer often unknown features. Most of these are intended for production use. However, there are also some targets designed specifically for debugging.

    In this talk, Werner gives a full overview of all Device Mapper targets.

    For production use these are: dm-cachd, dm-clone, dm-crypt, dm-ebs, dm-era, dm-integrity, dm-linear, dm-mirror, dm-raid, dm-stripe, dm-switch, dm-thin, dm-unstripe, dm-verity, dm-vdo, dm-writecache and dm-zoned.

    For debugging: dm-delay, dm-dust, dm-flakey and dm-zero.

    He also briefly shows drbd, md (RAID) and bcache, which, like device mapper targets, can work as devices "on top" of normal block devices."

    osseu2025.sched.com/event/25Vs

  14. Recording (youtube.com/watch?v=D-gBQ_giJrI ) and slides (static.sched.com/hosted_files/ ) from Kundan Kumar's #OSSEU25 talk "Rethinking Writeback: Scaling #Linux Filesystem and Memory Performance for the Next Decade" are now online.

    From the abstract: "Linux’s current writeback infrastructure, while robust, was designed before large folios, CXL-tiered memory, and AI workloads demanding low-latency, high-throughput I/O. Today, workloads like RAG pipelines using vector databases with buffered I/O, and memory tiering on CXL, are exposing scalability limits in how the #kernel handles writeback.

    This talk presents a forward-looking view on evolving Linux’s writeback model. We’ll explore how the single-threaded design stalls page migration and reduces memory compaction effectiveness—affecting hugepage allocations and folio movement across memory tiers, contributing to fragmentation. On the storage side, parallelizing writeback improves throughput and responsiveness under dirty-page pressure, especially for sustained-write workloads with large memory footprints on High capacity SSDs.

    We’ll also touch on early experiments within the kernel community, including efforts to make writeback more filesystem-geometry aware and parallelize it based on overwrites/new allocations.

    This session invites open source community to reimagine writeback as a scalable, performance-critical component in Linux. […]"

    osseu2025.sched.com/event/25Vm #LinuxKernel

  15. Recording (youtube.com/watch?v=O8Q8nIzEG6c ) and slides (static.sched.com/hosted_files/ ) from Hans de Goede's #OSSEU25 talk "Creating a Healthy Vibrant [#Linux] #Kernel Subsystem Community" are now online.

    From the abstract: "End 2020 I became the maintainer of the drivers/platform/x86 (pdx86) kernel subsytem. The subject of this talk is my experience in creating a friendly welcoming environment, growing the pdx86 community and how this helped me to avoid burnout by being able to delegate to community members."

    osseu2025.sched.com/event/25Vm #LinuxKernel

  16. ""The name sure sounds like “mutex”, and that is where the name comes from: “fast, user space mutex”. But, it isn’t really, it’s a building block for concurrency primitives that ushered in a modern world of concurrent performance […]

    t was immediately clear that the futex was a huge improvement in highly concurrent environments. Just in that original paper, their tests with 1000 parallel tasks ran 20-120 times faster than sysv locks..🤯

    Needless to say, other common operating systems followed suit, including Windows in 2012 and macOS by 2016.

    These days, any good locking primitive is going to be based on a futex. […]""

    h4x0r.org/futex/

    #Linux #LinuxKernel #Kernel #Futex

  17. Introduction to VirtIO, Part 2: Vhost

    blogs.oracle.com/linux/post/in

    Jonah Palmer writes: ""[…] #Vhost is a key optimization to #VirtIO that was created to offload data-plane processing from #Qemu into more efficient components.

    We’ll start off by taking a more in-depth look into the causes of overhead in the data plane of a pure VirtIO configuration. We’ll talk about the costly operations that are involved, such as VM exits, VM entries, context switches, and userspace processing by Qemu. Then we’ll introduce vhost and elaborate on how it addresses these issues by moving data-plane operations either into the kernel (kernel-based vhost) or into a specialized userspace process (via vhost-user).

    We’ll then dive into both #kernel-based vhost and vhost-user architectures, examining each in detail—including their advantages, drawbacks, typical use cases, and how they affect performance. […]"

    #Linux #LinuxKernel

  18. Linus still did neither remove bcachefs from #Linux #kernel nor pulled the updates for 6.17 Kent submitted.

    The latter meanwhile wrote a few mails to #LKML which in diplomatic phrases might be called "not really helpful", like this one lore.kernel.org/all/3ik3h6hfm4

    It resulted in a few good replies from respected developers that are worth a read if you are followed the topic, among them from Josef Bacik (lore.kernel.org/all/2025080919 ), Matthew Wilcox (lore.kernel.org/all/aJfTPliez_ ), Sasha Levin (lore.kernel.org/all/aJgaiFS3aA ) and Theodore Ts'o (lore.kernel.org/all/2025081002 & lore.kernel.org/all/2025081005).

  19. Linus still did neither remove bcachefs from #Linux #kernel nor pulled the updates for 6.17 Kent submitted.

    The latter meanwhile wrote a few mails to #LKML which in diplomatic phrases might be called "not really helpful", like this one lore.kernel.org/all/3ik3h6hfm4

    It resulted in a few good replies from respected developers that are worth a read if you are followed the topic, among them from Josef Bacik (lore.kernel.org/all/2025080919 ), Matthew Wilcox (lore.kernel.org/all/aJfTPliez_ ), Sasha Levin (lore.kernel.org/all/aJgaiFS3aA ) and Theodore Ts'o (lore.kernel.org/all/2025081002 & lore.kernel.org/all/2025081005).

  20. Linus still did neither remove bcachefs from nor pulled the updates for 6.17 Kent submitted.

    The latter meanwhile wrote a few mails to which in diplomatic phrases might be called "not really helpful", like this one lore.kernel.org/all/3ik3h6hfm4

    It resulted in a few good replies from respected developers that are worth a read if you are followed the topic, among them from Josef Bacik (lore.kernel.org/all/2025080919 ), Matthew Wilcox (lore.kernel.org/all/aJfTPliez_ ), Sasha Levin (lore.kernel.org/all/aJgaiFS3aA ) and Theodore Ts'o (lore.kernel.org/all/2025081002 & lore.kernel.org/all/2025081005).

  21. Linus still did neither remove bcachefs from #Linux #kernel nor pulled the updates for 6.17 Kent submitted.

    The latter meanwhile wrote a few mails to #LKML which in diplomatic phrases might be called "not really helpful", like this one lore.kernel.org/all/3ik3h6hfm4

    It resulted in a few good replies from respected developers that are worth a read if you are followed the topic, among them from Josef Bacik (lore.kernel.org/all/2025080919 ), Matthew Wilcox (lore.kernel.org/all/aJfTPliez_ ), Sasha Levin (lore.kernel.org/all/aJgaiFS3aA ) and Theodore Ts'o (lore.kernel.org/all/2025081002 & lore.kernel.org/all/2025081005).

  22. Linus still did neither remove bcachefs from #Linux #kernel nor pulled the updates for 6.17 Kent submitted.

    The latter meanwhile wrote a few mails to #LKML which in diplomatic phrases might be called "not really helpful", like this one lore.kernel.org/all/3ik3h6hfm4

    It resulted in a few good replies from respected developers that are worth a read if you are followed the topic, among them from Josef Bacik (lore.kernel.org/all/2025080919 ), Matthew Wilcox (lore.kernel.org/all/aJfTPliez_ ), Sasha Levin (lore.kernel.org/all/aJgaiFS3aA ) and Theodore Ts'o (lore.kernel.org/all/2025081002 & lore.kernel.org/all/2025081005).

  23. Some highlights from various #VFS merges for #Linux 6.17 where @brauner submitted the PR:

    git.kernel.org/torvalds/c/278c: fallocate() updates bringing support for the BLK_FEAT_WRITE_ZEROES_UNMAP feature and BLK_FLAG_WRITE_ZEROES_UNMAP_DISABLED flag for SCSI, NVMe and device-mapper drivers, and add the FALLOC_FL_WRITE_ZEROES and for ext4 and raw bdev devices; this enables preventing numerous metadata changes and journal I/O, which may lead to significant write amplification and performance degradation in synchronous write mode.

    git.kernel.org/torvalds/c/57fc: support for the the new file_getattr() and file_setattr() system calls (after lengthy discussions), which allow userspace to set filesystem inode attributes on special files (One of the usage examples is the XFS quota projects.)

    git.kernel.org/torvalds/c/7879: ext4 IOCB_DONTCACHE support

    git.kernel.org/torvalds/c/117e: An extension to the coredump socket and a proper rework of the coredump code.

    #kernel #LinuxKernel

  24. Highlights from the main #erofs (used by #composefs) merge for #Linux 6.17[1]:

    ""We now support metadata compression. It can be useful for embedded use cases or archiving a large number of small files.

    Additionally, readdir performance has been improved by enabling readahead (note that it was already common practice for ext3/4 non-dx and f2fs directories). We may consider further improvements later toalign with ext4's s_inode_readahead_blks behavior for slow devices too.""

    [1] git.kernel.org/torvalds/c/76a9

    #kernel #LinuxKernel

  25. Highlights from the main #erofs (used by #composefs) merge for #Linux 6.17[1]:

    ""We now support metadata compression. It can be useful for embedded use cases or archiving a large number of small files.

    Additionally, readdir performance has been improved by enabling readahead (note that it was already common practice for ext3/4 non-dx and f2fs directories). We may consider further improvements later toalign with ext4's s_inode_readahead_blks behavior for slow devices too.""

    [1] git.kernel.org/torvalds/c/76a9

    #kernel #LinuxKernel

  26. Highlights from the main (used by ) merge for 6.17[1]:

    ""We now support metadata compression. It can be useful for embedded use cases or archiving a large number of small files.

    Additionally, readdir performance has been improved by enabling readahead (note that it was already common practice for ext3/4 non-dx and f2fs directories). We may consider further improvements later toalign with ext4's s_inode_readahead_blks behavior for slow devices too.""

    [1] git.kernel.org/torvalds/c/76a9

  27. Highlights from the main #erofs (used by #composefs) merge for #Linux 6.17[1]:

    ""We now support metadata compression. It can be useful for embedded use cases or archiving a large number of small files.

    Additionally, readdir performance has been improved by enabling readahead (note that it was already common practice for ext3/4 non-dx and f2fs directories). We may consider further improvements later toalign with ext4's s_inode_readahead_blks behavior for slow devices too.""

    [1] git.kernel.org/torvalds/c/76a9

    #kernel #LinuxKernel

  28. Highlights from the main #erofs (used by #composefs) merge for #Linux 6.17[1]:

    ""We now support metadata compression. It can be useful for embedded use cases or archiving a large number of small files.

    Additionally, readdir performance has been improved by enabling readahead (note that it was already common practice for ext3/4 non-dx and f2fs directories). We may consider further improvements later toalign with ext4's s_inode_readahead_blks behavior for slow devices too.""

    [1] git.kernel.org/torvalds/c/76a9

    #kernel #LinuxKernel

  29. From the main #ntfs3 merge for #Linux 6.17[1]:

    "Added:
    - sanity check for file name
    - mark live inode as bad and avoid any operations

    Fixed:
    - handling of symlinks created in windows
    - creation of symlinks for relative path

    Changed:
    - cancel setting inode as bad after removing name fails
    - revert 'replace inode_trylock with inode_lock'"

    [1] git.kernel.org/torvalds/c/a11b

    #kernel #LinuxKernel

  30. From the main #ntfs3 merge for #Linux 6.17[1]:

    "Added:
    - sanity check for file name
    - mark live inode as bad and avoid any operations

    Fixed:
    - handling of symlinks created in windows
    - creation of symlinks for relative path

    Changed:
    - cancel setting inode as bad after removing name fails
    - revert 'replace inode_trylock with inode_lock'"

    [1] git.kernel.org/torvalds/c/a11b

    #kernel #LinuxKernel