public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] nptl: Remove unused members from struct pthread Date: Wed, 29 Jun 2022 20:00:09 +0000 (GMT) [thread overview] Message-ID: <20220629200009.E07613841449@sourceware.org> (raw) 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.
reply other threads:[~2022-06-29 20:00 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220629200009.E07613841449@sourceware.org \ --to=azanella@sourceware.org \ --cc=glibc-cvs@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: linkBe 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).