[Rpm-maint] [rpm-software-management/rpm] Don't hog thread local storage, it's a scarce resource (RhBug:1722181) (#759)

Panu Matilainen notifications at github.com
Thu Jun 20 10:56:41 UTC 2019


Commit 6487e873f3169c2bffbd52808b6c749e6c104ff5 introduced a thread local
BUFSIZ static buffer for header format error reporting but thread local
storage is apparently a rather scarce resource (on some architectures
more so than others) and this is highly excessive use of that resource.
Use a thread local pointer to dynamically (re)allocated buffer instead.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/759

-- Commit Summary --

  * Don't hog thread local storage, it's a scarce resource (RhBug:1722181)

-- File Changes --

    M lib/headerfmt.c (8)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/759.patch
https://github.com/rpm-software-management/rpm/pull/759.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/759
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190620/663f21bd/attachment.html>


More information about the Rpm-maint mailing list