Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2085529

Summary: glibc: Restartable sequences interfaces and sched_getcpu accelerated by default
Product: Red Hat Enterprise Linux 9 Reporter: Florian Weimer <fweimer>
Component: glibcAssignee: Florian Weimer <fweimer>
Status: CLOSED ERRATA QA Contact: Sergey Kolosov <skolosov>
Severity: medium Docs Contact: Dominik <dklon>
Priority: medium    
Version: 9.1CC: ashankar, codonell, dj, dklon, fweimer, gfialova, mnewsome, pfrankli, sipoyare
Target Milestone: rcKeywords: FutureFeature, Patch, Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: glibc-2.34-37.el9 Doc Type: Enhancement
Doc Text:
.Applications can use the restartable sequence features through the new `glibc` interfaces To accelerate the `sched_getcpu` function (especially on aarch64), it is necessary to use the restartable sequences (rseq) kernel feature by default in `glibc`. To allow applications to continuously use the shared rseq area, `glibc` now provides the `pass:[__rseq_offset]`, `pass:[__rseq_size]` and `pass:[__rseq_flags]` symbols which were first added in `glibc` 2.35 upstream version. With this enhancement, the performance of the `sched_getcpu` function is increased and applications can now use the restartable sequence features through the new `glibc` interfaces.
Story Points: ---
Clone Of:
: 2115828 (view as bug list) Environment:
Last Closed: 2022-11-15 11:11:50 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2033446    
Bug Blocks: 2105220, 2115828    

Description Florian Weimer 2022-05-13 15:25:44 UTC
Once criu supports rseq (bug 2033446), we can enable its use by default in glibc, following partial enablement in bug 2024347.

We should consider ways to simplify integration of third-party rseq-using components such as tcmalloc. The most straightforward way to achieve that could involve backporting the GLIBC_2.35 ld.so symbols (which constitutes the entire GLIBC_2.35 symbol set for ld.so).

Comment 14 errata-xmlrpc 2022-11-15 11:11:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (glibc bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8272