From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id E07613841449; Wed, 29 Jun 2022 20:00:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E07613841449 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] nptl: Remove unused members from struct pthread X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/master X-Git-Oldrev: ecd0fbebc0ce2818ac87ca1ed2ce46a733e8c839 X-Git-Newrev: d55df811e95e6da6af4e414c3eef64546f8b4a2c Message-Id: <20220629200009.E07613841449@sourceware.org> Date: Wed, 29 Jun 2022 20:00:09 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2022 20:00:10 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d55df811e95e6da6af4e414c3eef64546f8b4a2c commit d55df811e95e6da6af4e414c3eef64546f8b4a2c Author: Adhemerval Zanella 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 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.