• [$] Fixing the TCMalloc regression with RSEQ operations

    From LWN.net@86:200/23 to All on Tue Sep 8 06:40:08 2026
    The restartable sequences feature is one of
    the stranger corners of the kernel's user-space interface; it provides a
    way for user space to carry out simple lockless operations and be informed
    if it is preempted over the course of an operation (and must, thus,
    restart). Work merged in the 6.19 release to improve the performance of restartable
    sequences broke the TCMalloc allocator,
    which was relying on an undocumented (and unintended) kernel behavior.
    Now, Olivier Dion is proposing an
    addition to the restartable-sequences API that will bring TCMalloc back
    into the fold; it does not make the restartable-sequences API any less
    strange, though.

    https://lwn.net/Articles/1092555/
    --- SBBSecho 3.37-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (86:200/23)