public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] nptl: Remove unused members from struct pthread
@ 2022-06-29 20:00 Adhemerval Zanella
0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2022-06-29 20:00 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d55df811e95e6da6af4e414c3eef64546f8b4a2c
commit d55df811e95e6da6af4e414c3eef64546f8b4a2c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Apr 21 09:44:48 2022 -0300
nptl: Remove unused members from struct pthread
It removes both pid_ununsed and cpuclock_offset_ununsed, saving about
12 bytes from struct pthread.
Reviewed-by: Arjun Shankar <arjun@redhat.com>
Diff:
---
nptl/descr.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/nptl/descr.h b/nptl/descr.h
index bb46b5958e..b5852632e3 100644
--- a/nptl/descr.h
+++ b/nptl/descr.h
@@ -172,9 +172,6 @@ struct pthread
therefore stack) used' flag. */
pid_t tid;
- /* Ununsed. */
- pid_t pid_ununsed;
-
/* List of robust mutexes the thread is holding. */
#if __PTHREAD_MUTEX_HAVE_PREV
void *robust_prev;
@@ -342,10 +339,6 @@ struct pthread
/* Lock for synchronizing setxid calls. */
unsigned int setxid_futex;
-#if HP_TIMING_INLINE
- hp_timing_t cpuclock_offset_ununsed;
-#endif
-
/* If the thread waits to join another one the ID of the latter is
stored here.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-29 20:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29 20:00 [glibc] nptl: Remove unused members from struct pthread Adhemerval Zanella
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).