From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: libc-alpha@sourceware.org
Subject: [PATCH 0/4] Move libio lock single-thread optimization to generic libc-lock
Date: Thu, 27 May 2021 17:44:53 -0300 [thread overview]
Message-ID: <20210527204457.1250196-1-adhemerval.zanella@linaro.org> (raw)
This patchset removes some old unused code (_IO_lock_inexpensive
and _IO_MTSAFE_IO), consolidate the stdio-lock.h and move the
single-thread lock optimization to generic code instead of
per-function usage.
Adhemerval Zanella (4):
libio: Assume _IO_lock_inexpensive
libio: Assume _IO_MTSAFE_IO
Consolidate stdio-lock.h
Move libio lock single-thread optimization to generic libc-lock (BZ
#27842)
Makeconfig | 2 -
debug/Makefile | 43 +++++-------
grp/Makefile | 4 +-
gshadow/Makefile | 4 +-
htl/Makefile | 2 -
hurd/vpprintf.c | 4 --
include/stdio.h | 2 +-
libio/Makefile | 2 -
libio/Versions | 3 -
libio/clearerr.c | 4 --
libio/feof.c | 7 --
libio/ferror.c | 9 +--
libio/fileno.c | 2 +-
libio/fputc.c | 7 --
libio/genops.c | 66 -------------------
libio/getc.c | 8 ---
libio/getchar.c | 7 --
libio/iofdopen.c | 4 --
libio/iofflush.c | 7 --
libio/iofgets.c | 7 --
libio/iofopen.c | 4 --
libio/iofopncook.c | 6 --
libio/iofputs.c | 7 --
libio/iofread.c | 6 --
libio/iofwrite.c | 6 +-
libio/iopopen.c | 14 ----
libio/ioungetc.c | 2 -
libio/iovdprintf.c | 2 -
libio/iovsprintf.c | 2 -
libio/libio.h | 37 +++--------
libio/libioP.h | 30 ++-------
libio/memstream.c | 7 --
libio/obprintf.c | 2 -
libio/oldiofdopen.c | 4 --
libio/oldiofopen.c | 4 --
libio/oldiopopen.c | 14 ----
libio/oldstdfiles.c | 6 --
libio/putc.c | 7 --
libio/putchar.c | 5 --
libio/stdfiles.c | 11 +---
libio/vasprintf.c | 2 -
libio/vsnprintf.c | 2 -
libio/vswprintf.c | 2 -
libio/wgenops.c | 2 -
libio/wmemstream.c | 7 --
nptl/Makefile | 3 -
nptl/pthread_create.c | 3 -
pwd/Makefile | 1 -
shadow/Makefile | 4 +-
stdio-common/Makefile | 2 -
stdio-common/flockfile.c | 1 -
stdio-common/vfprintf-internal.c | 4 --
stdlib/Makefile | 9 ---
stdlib/strfmon_l.c | 2 -
stdlib/strfrom-skeleton.c | 2 -
sysdeps/generic/stdio-lock.h | 19 +++---
sysdeps/htl/stdio-lock.h | 57 ----------------
sysdeps/ieee754/float128/Makefile | 4 --
sysdeps/mach/libc-lock.h | 12 ++--
sysdeps/nptl/libc-lock.h | 9 +--
sysdeps/nptl/stdio-lock.h | 104 ------------------------------
sysdeps/unix/sysv/linux/Makefile | 1 -
wcsmbs/Makefile | 2 -
63 files changed, 58 insertions(+), 566 deletions(-)
delete mode 100644 sysdeps/htl/stdio-lock.h
delete mode 100644 sysdeps/nptl/stdio-lock.h
--
2.30.2
next reply other threads:[~2021-05-27 20:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-27 20:44 Adhemerval Zanella [this message]
2021-05-27 20:44 ` [PATCH 1/4] libio: Assume _IO_lock_inexpensive Adhemerval Zanella
2021-05-30 13:11 ` Florian Weimer
2021-05-27 20:44 ` [PATCH 2/4] libio: Assume _IO_MTSAFE_IO Adhemerval Zanella
2021-05-27 21:38 ` Andreas Schwab
2021-05-27 20:44 ` [PATCH 3/4] Consolidate stdio-lock.h Adhemerval Zanella
2021-05-27 20:44 ` [PATCH 4/4] Move libio lock single-thread optimization to generic libc-lock (BZ #27842) Adhemerval Zanella
2022-04-12 12:18 ` [PATCH 0/4] Move libio lock single-thread optimization to generic libc-lock Florian Weimer
2022-04-14 14:23 ` Adhemerval Zanella
2022-04-14 15:28 ` Florian Weimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210527204457.1250196-1-adhemerval.zanella@linaro.org \
--to=adhemerval.zanella@linaro.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).