* Question regarding __lll_timedlock_elision (__lll_clocklock_elision) on x86/powerpc/s390
@ 2020-09-20 16:27 Lukasz Majewski
2020-09-20 18:10 ` Florian Weimer
0 siblings, 1 reply; 2+ messages in thread
From: Lukasz Majewski @ 2020-09-20 16:27 UTC (permalink / raw)
To: libc-help
Cc: Carlos O'Donell, Joseph Myers, Andi Kleen, Adhemerval Zanella
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
Dear Community,
I'm trying to find the implementation of __lll_clocklock_elision
function declared as
extern int __lll_clocklock_elision (int *futex, short *adapt_count,
clockid_t clockid,
const struct timespec *timeout,
int private) attribute_hidden;
in sysdeps/unix/sysv/linux/x86/lowlevellock.h
I've dug into following commit:
"Add the low level infrastructure for pthreads lock elision with TSX"
SHA1: 1cdbe579482c07e9f4bb3baa4864da2d3e
Where this extern declaration is added for the first time, before
rename as __lll_timedlock_elision.
However, I cannot find the definition in the source code (it is also
not the auto generated syscall wrapper).
Is this function provided from some other library? (It shall NOT be as
it is declared with 'attribute hidden').
I do need to find its definition to provide Y2038 support for it. The
same situation is with with powerpc and s390 ports.
Any help/hints appreciated.
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question regarding __lll_timedlock_elision (__lll_clocklock_elision) on x86/powerpc/s390
2020-09-20 16:27 Question regarding __lll_timedlock_elision (__lll_clocklock_elision) on x86/powerpc/s390 Lukasz Majewski
@ 2020-09-20 18:10 ` Florian Weimer
0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2020-09-20 18:10 UTC (permalink / raw)
To: Lukasz Majewski; +Cc: libc-help, Andi Kleen, Joseph Myers
* Lukasz Majewski:
> Dear Community,
>
> I'm trying to find the implementation of __lll_clocklock_elision
> function declared as
>
> extern int __lll_clocklock_elision (int *futex, short *adapt_count,
> clockid_t clockid,
> const struct timespec *timeout,
> int private) attribute_hidden;
>
> in sysdeps/unix/sysv/linux/x86/lowlevellock.h
>
> I've dug into following commit:
>
> "Add the low level infrastructure for pthreads lock elision with TSX"
> SHA1: 1cdbe579482c07e9f4bb3baa4864da2d3e
>
> Where this extern declaration is added for the first time, before
> rename as __lll_timedlock_elision.
>
> However, I cannot find the definition in the source code (it is also
> not the auto generated syscall wrapper).
See sysdeps/unix/sysv/linux/s390/elision-timed.c, it does:
#define __lll_lock_elision __lll_clocklock_elision
…
#include "elision-lock.c"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-20 18:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-20 16:27 Question regarding __lll_timedlock_elision (__lll_clocklock_elision) on x86/powerpc/s390 Lukasz Majewski
2020-09-20 18:10 ` Florian Weimer
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).