[PATCH 1/2] nptl: Remove unused members from struct pthread
Adhemerval Zanella
adhemerval.zanella@linaro.org
Tue Apr 26 18:07:04 GMT 2022
It removes both pid_ununsed and cpuclock_offset_ununsed, saving about
12 bytes from struct pthread.
---
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.
--
2.34.1
More information about the Libc-alpha
mailing list