~ubuntu-core-dev/ubuntu/+source/glibc:ubuntu/focal

Last commit made on 2023-07-26
Get this branch:
git clone -b ubuntu/focal https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/glibc
Members of Ubuntu Core Development Team can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
ubuntu/focal
Repository:
lp:~ubuntu-core-dev/ubuntu/+source/glibc

Recent commits

88af4b4... by Simon Chopin

Upload glibc 2.31-0ubuntu9.12 to Focal

5c858f1... by Simon Chopin

Drop SVE memcpy implementation due to performance regressions

Apparently there are some issues saving the SVE context after a kernel
round-trip, causing a substantial performance regression in real-world
applications such as nginx.

2d58334... by Simon Chopin

Upload glibc 2.31-0ubuntu9.11 to Focal

1fdfa62... by Simon Chopin

Drop memcmp arm64 SIMD optimization patch due to performance regression on Raspberry Pi 3+ and 4

7dc257a... by Simon Chopin

Upload glibc 2.31-0ubuntu9.10 to Focal

edc0b1c... by Simon Chopin

d/p/lp2001975/*: fix overflow in AVX2 wcsncmp (LP: #2001975)

d75ab4e... by Simon Chopin

d/p/lp2001932/*: fix segfault in AVX2 strncmp (LP: #2001932)

f5a80ce... by Andrei Gherzan

d/p/lp1910312: Backport upstream fix for SEM_STAT_ANY (LP: #1910312)

The fix landed in 2.33 and was tracked in upstream as part of
https://sourceware.org/bugzilla/show_bug.cgi?id=26637. The backport was
straight forward as the only conflict was due to:

commit dba950e3174a5210b900a26a7d2f361cadea2834
sysv: linux: Add 64-bit time_t variant for semctl

The cherry picked/backported commit includes code fix up, test-case and
build fixup for the related test-case.

It was tested with the LTP test suite.

Without the patch applied:

tst_test.c:1526: TINFO: Timeout per run is 0h 00m 30s
semctl09.c:76: TINFO: Test SYS_semctl syscall
semctl09.c:141: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:163: TPASS: SEM_INFO returned valid index 10 to semid 10
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:141: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:163: TPASS: SEM_INFO returned valid index 10 to semid 10
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:79: TINFO: Test libc semctl()
semctl09.c:200: TFAIL: SEM_STAT_ANY doesn't pass the buffer specified by
the caller to kernel
HINT: You _MAY_ be missing glibc fixes:
https://sourceware.org/git/?p=glibc.git;a=commit;h=574500a108be
Summary:
passed 8
failed 1
broken 0
skipped 0
warnings 0

With the patch applied:

tst_test.c:1526: TINFO: Timeout per run is 0h 00m 30s
semctl09.c:76: TINFO: Test SYS_semctl syscall
semctl09.c:141: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:163: TPASS: SEM_INFO returned valid index 8 to semid 8
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:141: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:163: TPASS: SEM_INFO returned valid index 8 to semid 8
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:79: TINFO: Test libc semctl()
semctl09.c:141: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:163: TPASS: SEM_INFO returned valid index 9 to semid 9
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:141: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:163: TPASS: SEM_INFO returned valid index 9 to semid 9
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
Summary:
passed 16
failed 0
broken 0
skipped 0
warnings 0

Signed-off-by: Andrei Gherzan <email address hidden>

708474e... by Simon Chopin

d/p/lp1999551/*: backport mem{cmp,cpy} optimizations for arm64 (LP: #1999551)

The patchset is a bit massive as we also needed to backport the SVE
detection code, as well as the benchmarking code for accurate
benchmarking to detect potential performance regressions.

d166b66... by Michael Hudson-Doyle

releasing package glibc version 2.31-0ubuntu9.9