Checking for required dependencies of the last commit above:
---

Commits in-between the first offender and final fix, in the development
branch:

        $ git log --oneline origin/master -- 
sysdeps/unix/sysv/linux/getsysstats.c | grep -v 'Update copyright dates'
        472894d2cfee malloc: Use __get_nprocs on arena_get2 (BZ 30945)
        97a912f7a832 linux: Use /sys/devices/system/cpu on __get_nprocs_conf 
(BZ#28991)
        e1d32b836410 linux: fix accuracy of get_nprocs and get_nprocs_conf [BZ 
#28865]
        97ba273b5057 linux: __get_nprocs_sched: do not feed CPU_COUNT_S with 
garbage [BZ #28850]
        (below: same commit IDs)
        137ed5ac440a linux: Use /proc/stat fallback for __get_nprocs_conf (BZ 
#28624)
        342298278eab linux: Revert the use of sched_getaffinity on get_nproc 
(BZ #28310)
        33099d72e41c linux: Simplify get_nprocs
        11a02b035b46 misc: Add __get_nprocs_sched
        30891f35fa7d Remove "Contributed by" lines
        eb68d7d23cc4 Linux: Avoid calling malloc indirectly from __get_nprocs
        f13fb81ad315 linux: Remove /proc/cpuinfo fallback on alpha and sparc
        903bc7dcc2ac linux: Use sched_getaffinity for __get_nprocs (BZ #27645)
        <...>

Likewise, in the 2.35 release branch (used by Jammy).

All commits present, the most-recent 3 are backports.
(commit 97a912f7a832 has not been backported to 2.35.)

        $ git log --oneline origin/release/2.35/master -- 
sysdeps/unix/sysv/linux/getsysstats.c | grep -v 'Update copyright da
        tes'
        d47c5e4db792 malloc: Use __get_nprocs on arena_get2 (BZ 30945)
        491f2ef1f0ff linux: fix accuracy of get_nprocs and get_nprocs_conf [BZ 
#28865]
        a2f1675634b3 linux: __get_nprocs_sched: do not feed CPU_COUNT_S with 
garbage [BZ #28850]
        (below: same commit IDs)
        137ed5ac440a linux: Use /proc/stat fallback for __get_nprocs_conf (BZ 
#28624)
        342298278eab linux: Revert the use of sched_getaffinity on get_nproc 
(BZ #28310)
        33099d72e41c linux: Simplify get_nprocs
        11a02b035b46 misc: Add __get_nprocs_sched
        30891f35fa7d Remove "Contributed by" lines
        eb68d7d23cc4 Linux: Avoid calling malloc indirectly from __get_nprocs
        f13fb81ad315 linux: Remove /proc/cpuinfo fallback on alpha and sparc
        903bc7dcc2ac linux: Use sched_getaffinity for __get_nprocs (BZ #27645)

Applied in jammy (glibc 2.35-0ubuntu3.8)
        491f2ef1f0ff linux: fix accuracy of get_nprocs and get_nprocs_conf [BZ 
#28865]
        a2f1675634b3 linux: __get_nprocs_sched: do not feed CPU_COUNT_S with 
garbage [BZ #28850]

Missing in jammy
        d47c5e4db792 malloc: Use __get_nprocs on arena_get2 (BZ 30945)

So, from the 2.35 branch, only this commit (which is the desired commit) is 
missing.
Its dependencies (prior commits to improve __get_nprocs) are already applied.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089789

Title:
  malloc performance degradation with CPU affinity masks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2089789/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to