This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCHv3 1/2] nptl: Add adapt_count parameter to lll_unlock_elision
- From: "Tulio Magno Quites Machado Filho" <tuliom at linux dot vnet dot ibm dot com>
- To: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- Cc: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, schwab at linux-m68k dot org, "libc-alpha\ at sourceware dot org" <libc-alpha at sourceware dot org>
- Cc:
- Date: Thu, 08 Oct 2015 11:38:47 -0300
- Subject: Re: [PATCHv3 1/2] nptl: Add adapt_count parameter to lll_unlock_elision
- Authentication-results: sourceware.org; auth=none
- References: <55E8940B dot 2090305 at linux dot vnet dot ibm dot com>
"Paul E. Murphy" <murphyp@linux.vnet.ibm.com> writes:
> Adding this parameter will give architectures more freedom in
> how they choose to update this variable. This change has no
> effect on architectures which choose not to use it.
>
> 2015-09-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
>
> * nptl/pthread_mutex_unlock.c(lll_unlock_elision):
> Add elision adapt_count parameter to list of arguments.
> * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
> (lll_unlock_elision): Update with new parameter list
> * sysdeps/unix/sysv/linux/s390/lowlevellock.h
> (lll_unlock_elision): Likewise
> * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
> (lll_unlock_elision): Likewise
LGTM.
I'm pushing it.
Thanks!
--
Tulio Magno