From 0d019734966f91c3511933d207802631a7774def Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 3 Aug 2000 17:59:17 +0000 Subject: [PATCH] Update. 2000-07-27 Jes Sorensen * linuxthreads/sysdeps/ia64/pspinlock.c (__pthread_spin_lock): Add load of spin lock to prime the cache before the atomic compare and exchange operation (cmpxchg4). This avoids the spinning on the cmpxchg4 instruction and reduces movement of the cache line back and forth between the processors (explanation by Asis K. Mallick from Intel). This basically makes the implementation operate the same as the Linux kernel implementation. * linuxthreads/shlib-versions: Use GLIBC_2_2 for Linux/ia64. * linuxthreads/sysdeps/ia64/pspinlock.c: New file. --- linuxthreads/ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index e80114f174..0335aa7e56 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,16 @@ +2000-07-27 Jes Sorensen + + * linuxthreads/sysdeps/ia64/pspinlock.c (__pthread_spin_lock): Add + load of spin lock to prime the cache before the atomic compare and + exchange operation (cmpxchg4). This avoids the spinning on the + cmpxchg4 instruction and reduces movement of the cache line back + and forth between the processors (explanation by Asis K. Mallick + from Intel). This basically makes the implementation operate the + same as the Linux kernel implementation. + + * linuxthreads/shlib-versions: Use GLIBC_2_2 for Linux/ia64. + * linuxthreads/sysdeps/ia64/pspinlock.c: New file. + 2000-08-03 Ulrich Drepper * pthread.c: Move definition of __pthread_set_own_extricate_if...