public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] System-wide tunables
@ 2024-04-19  3:48 DJ Delorie
  2024-04-19  8:41 ` Szabolcs Nagy
  0 siblings, 1 reply; 4+ messages in thread
From: DJ Delorie @ 2024-04-19  3:48 UTC (permalink / raw)
  To: libc-alpha


This patch series is the initial implementation of system-wide
tunables, which I mentioned a few months ago.

The first part has ldconfig read tunable information from
/etc/tunables.conf and store it to /etc/ld.so.cache.  Reusing ldconfig
means no new documentation or training would be required of sysadmins,
or reprogramming of distro packaging.

The second part optimizes the loading of /etc/ld.so.cache and allows
for it to be loaded independently of searching for libraries.

The third part applies the stored tunable information to the running
application.

Changes since v1: fixed format bug in error() and rebased.  No other
  changes.

DJ Delorie (3):
  Add system-wide tunables: ldconfig part
  Add system-wide tunables: cache ld.so.cache
  Add system-wide tunables: Apply tunables part

 elf/Makefile               |   1 +
 elf/cache.c                |  65 +++++-
 elf/dl-cache.c             | 276 +++++++++++++++++--------
 elf/dl-tunables.c          |  85 ++++++++
 elf/ldconfig.c             |  21 +-
 elf/tunconf.c              | 408 +++++++++++++++++++++++++++++++++++++
 elf/tunconf.h              |  43 ++++
 sysdeps/generic/dl-cache.h |   6 +
 sysdeps/generic/ldconfig.h |   2 +
 9 files changed, 818 insertions(+), 89 deletions(-)
 create mode 100644 elf/tunconf.c
 create mode 100644 elf/tunconf.h

-- 
2.39.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-22  8:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19  3:48 [PATCH v2 0/3] System-wide tunables DJ Delorie
2024-04-19  8:41 ` Szabolcs Nagy
2024-04-19 21:11   ` DJ Delorie
2024-04-22  8:47     ` Szabolcs Nagy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).