[RFC/PATCH] RT-NPTL-2.1 1/5
Hu, Boris
boris.hu@intel.com
Mon Feb 2 03:17:00 GMT 2004
Makeconfig | 5
config.make.in | 1
configure.in | 8
nptl/ChangeLog.rtnptl | 478
++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 491 insertions(+), 1 deletion(-)
diff -urN src.cvs/config.make.in src/config.make.in
--- src.cvs/config.make.in 2004-01-31 11:49:01.000000000 +0800
+++ src/config.make.in 2004-01-31 11:51:20.000000000 +0800
@@ -87,6 +87,7 @@
add-ons = @subdirs@
cross-compiling = @cross_compiling@
force-install = @force_install@
+build-robust-mutex = @robust_mutex@
# Build tools.
CC = @CC@
diff -urN src.cvs/configure.in src/configure.in
--- src.cvs/configure.in 2004-01-31 11:49:01.000000000 +0800
+++ src/configure.in 2004-01-31 11:51:20.000000000 +0800
@@ -121,6 +121,14 @@
[enable_check_abi=$enableval],
[enable_check_abi=no])
+dnl Arguments to enable or disable robust mutex feature.
+AC_SUBST(robust_mutex)
+AC_ARG_ENABLE([robust_mutex],
+ AC_HELP_STRING([--enable-robust-mutex],
+ [Build the library with robust mutexes
support @<:@default=no@:>@]),
+ [robust_mutex=$enableval],
+ [robust_mutex=default])
+
dnl Arguments to enable or disable building the static, shared,
profiled,
dnl and -fomit-frame-pointer libraries.
dnl I've disabled this for now since we cannot build glibc without
static
diff -urN src.cvs/Makeconfig src/Makeconfig
--- src.cvs/Makeconfig 2004-01-31 11:49:04.000000000 +0800
+++ src/Makeconfig 2004-01-31 11:51:20.000000000 +0800
@@ -626,10 +626,14 @@
+cflags := $(+cflags) $(+gccwarn)
+gcc-nowarn := -w
+# Enable Robust Mutex Supoort
+ifeq (yes,$(build-robust-mutex))
++cflags := $(+cflags) -DUSE_FUSYN_ROBUST_MUTEX
+endif
+
# Don't duplicate options if we inherited variables from the parent.
+cflags := $(sort $(+cflags))
-
# These are flags given to the C compiler to tell it to look for
include
# files (including ones given in angle brackets) in the current
directory,
# in the parent library source directory and in the include directory.
diff -urN src.cvs/nptl/ChangeLog.rtnptl src/nptl/ChangeLog.rtnptl
--- src.cvs/nptl/ChangeLog.rtnptl 1970-01-01 08:00:00.000000000
+0800
+++ src/nptl/ChangeLog.rtnptl 2004-01-31 11:51:20.000000000 +0800
@@ -0,0 +1,478 @@
+2004-1-30 Dave Howell <david.p.howell@intel.com>
+
+ * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
+ * sysdeps/unix/sysv/linux/ia64/lowlevelrtlock.c
+ Updates to track is_mutexattr_robust() changes for i386
+ * Makefile
+ * init.c
+ * pthread_mutex_lock.c
+ * pthread_mutex_timedlock.c
+ * pthread_mutex_unlock.c
+ Change to remove references to eventlog.h/eventlog
+
+2004-1-17 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c:
+ Add is_mutexattr_robust().
+
+2004-1-13 Boris Hu <boris.hu@intel.com>
+
+ * glibc/configure.in: Add --enable-robust-mutex option.
+ * glibc/config.make.in: Define build-robust-mutex.
+ * glibc/Makeconfig: Add USE_FUSYN_ROBUST_MUTEX based on
+ build-robust-mutex.
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove
+ USE_FUSYN_ROBUST_MUTEX definition.
+
+2004-1-6 Boris Hu <boris.hu@intel.com>
+
+ * pthread_mutex_init.c: Add RM reinitialization support.
+
+2003-12-26 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c:
+ Replace INLINE_SYSCALL with INTERNAL_SYSCALL.
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
+
+2003-12-22 Dave Howell <david.p.howell@intel.com>
+
+ * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
+ * sysdeps/unix/sysv/linux/ia64/lowlevelrtlock.c
+ * sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h
+ Updates to sync up with i386 recent changes.
+
+2003-12-9 Boris Hu <boris.hu@intel.com>
+
+ * pthread_mutex_unlock.c: mutex->__data.__owner order bug
+ fix.
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h:
+ lll_futex_timed_wait()/lll_futex_requeue() return negative
errno.
+
+2003-12-3 Boris Hu <boris.hu@intel.com>
+
+ * pthread_mutex_lock.c: Redefine LLL_MUTEX_* macro
+ to enable/disable rt featuer by USE_FUSYN_ROBUST_MUTEX.
+ * pthread_mutex_unlock.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.c:
+ Add LLL_CMUTEX_* to enable/disable rt featuer by
+ USE_FUSYN_ROBUST_MUTEX.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.c:
+ Likewise.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.c:
+ Likewise.
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h:
+ Add lll_rtmutex_{g,s}et_consistency definitions for normal NPTL.
+ * INSTALL-rtnptl-upon-fusyn: New file.
+ * rtnptl___2_0: A new version.
+
+2003-12-2 Dave Howell <david.p.howell@intel.com>
+
+ * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
+ * sysdeps/unix/sysv/linux/ia64/lowlevelrtlock.c
+ Updates to sync with i386 changes. Fixes for INLINE_SYSCALL()
+ return value checks that differed from i386. Added GPL header
+ info to lowlevelrtlock.c.
+
+2003-12-2 Boris Hu <boris.hu@intel.com>
+
+ * pthread_mutexattr_getprotocol.c: Replace FUSYN_FL_*
+ with FULOCK_FL_* from kernel fulock.h file.
+ * pthread_mutexattr_setprotocol.c: Likewise.
+ * pthread_mutexattr_getrobust_np.c: Likewise.
+ * pthread_mutexattr_setrobust_np.c: Likewise.
+ * pthread_mutex_unlock.c: Likewise.
+ * pthread_mutex_trylock.c: Code clean.
+
+2003-12-2 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h:
+ __LK_FL bug fix reported by Selbak, Rolla.
+ * pthread_mutex_setconsistency_np.c: Bug fix provided
+ by Selbak, Rolla.
+
+2003-12-1 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.c:
+ FIXME code clean.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.c:
+ Likewise.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.c:
+ Likewise.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.c:
+ Likewise.
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h:
+ Hack lll_cmutex_lock() to promise to get the lock.
+ * pthread_mutex_getconsistency_np.c: Add const qualifier.
+ * sysdeps/pthread/pthread.h: Likewise.
+
+2003-12-1 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.c:
+ Merge nptl process shared condvar bug fix.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.c:
+ Likewise.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.c:
+ Likewise.
+
+2003-11-24 Boris Hu <boris.hu@intel.com>
+
+ * merge glibc___200311220227 into rtnptl___branch.
+
+2003-11-23 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/pthread/createthread.c: Remove pid signature stuff.
+ * init.c: Likewise.
+
+2003-11-23 Boris Hu <boris.hu@intel.com>
+
+ * pthread_mutex_unlock.c: Move ERRORCHECK and
+ RECURSIVE mutex from kernel to the user space.
+ * pthread_mutex_lock.c: Likewise.
+ * pthread_mutex_trylock.c: Likewise.
+ * pthread_mutex_timedlock.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h:
+ Remove RECURSIVE and ERRORCHECK flags.
+ * rtnptl___1_10: All nptl test cases passed and it bases
+ on fusyn-1.13.
+
+2003-11-22 Boris Hu <boris.hu@intel.com>
+
+ * rtnptl___1_9: Pass all tst-cond*.
+
+2003-11-21 Dave Howell <david.p.howell@intel.com>
+
+ * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
+ * sysdeps/unix/sysv/linux/ia64/lowlevelrtlock.c
+ * sysdeps/unix/sysv/linux/ia64/pthread_cond_broadcast.c
+ * sysdeps/unix/sysv/linux/ia64/pthread_cond_signal.c
+ * sysdeps/unix/sysv/linux/ia64/pthread_cond_timedwait.c
+ * sysdeps/unix/sysv/linux/ia64/pthread_cond_wait.c
+ Updates to ia64 versions to match changes to i386 for recent
+ kernel changes.
+ Made pthread_cond_*.c just include ../i386/pthread_cond*.c, to
+ track i386 implementation. When this is made default, change
+ to put it common for all architectures.
+
+2003-11-21 Boris Hu <boris.hu@intel.com>
+
+ * pthread_mutex_lock.c:
+ Add __nusers support for pthread_mutex_destroy will check it.
+ * pthread_mutex_unlock.c: Likewise.
+ * pthread_mutex_timedlock.c: Likewise.
+ * pthread_mutex_trylock.c: Likewise.
+
+2003-11-21 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/syv/linux/fork.c: Remove pid signature.
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove
+ all lll_fucond_* stuff.
+ Remove lll_rtmutex_make_signature.
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c: Likewise.
+ * pthread_mutex_unlock.c: Add the support to detect other tid
try
+ to unlock the lock for ERRORCHECK.
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h: (Inaky)
+ lll_futex_wait/lll_futex_wake bug fix.
+ lll_futex_requeue replace with FUTEX_WAKE.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.c:
+ Bug fix (Inaky).
+
+2003-11-20 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h:
+ Add flags parameters to __lll_rtmutex_lock/unlock.
+ Add lll_cmutex_lock/unlock.
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c: Likewise.
+ * sysdeps/unix/sysv/linux/pthread_mutex_cond_unlock.c: Removed.
+ * sysdeps/unix/sysv/linux/Makefile: Remove
pthread_mutex_cond_unlock.
+ * sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c:
+ Restore LLL_MUTEX_LOCK to lll_rtmutex_lock().
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.c:
+ Make the __data.__lock to be a robust lock.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.c:
Likewise.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.c:
Likewise.
+
+2003-11-20 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.c:
+ Switch condvar from ufucond to ufuqueue.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwatic.:
Likewise.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_signal: Likewise.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.c:
Likewise.
+ * sysdeps/unix/sysv/linux/pthread_mutex_cond_unlock.c: New file.
+ * sysdeps/unix/sysv/linux/Makefile: Add
pthread_mutex_cond_unlock.
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h:
+ Add lll_rtmutex_cond_lock/unlock definitions.
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c:
+ Add __lll_rtmutex_cond_lock/unlock implementations.
+
+2003-11-19 Dave Howell <david.p.howell@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h
+ * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
+ * sysdeps/unix/sysv/linux/ia64/lowlevelrtlock.c
+ Fixed typo in i386/lowlevellock.h,
+ pthread_mutex/consistent_np -> pthread_mutex_consistency_np
+ Updates to ia64 versions to match changes to i386 for recent
+ kernel changes.
+
+2003-11-18 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c:
+ Add FULOCK_FL_RECURSIVE, FULOCK_FL_ERROR_CHK support.
+ * pthread_mutex_lock.c: Remove recursive and error
+ check mutex handlering code and let the fusyn kernel
+ do for us.
+ * pthread_mutex_timedlock.c: Likewise.
+ * pthread_mutex_trylock.c: Likewise.
+ * pthread_mutex_unlock.c: Likewise.
+
+2003-11-18 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.c:
+ Change the cancelability type to PTHREAD_CANCEL_ASYNCHRONOUS
before
+ sys_ufucond_wait.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.c:
Likewise.
+ * sysdeps/unix/sysv/linux/ia64/pthread_cond_wait.c: Likewise.
+ * sysdeps/unix/sysv/linux/ia64/pthread_cond_timedwait.c:
Likewise.
+
+2003-11-17 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c:
+ Add is_mutex_robust().
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h:
+ Add is_mutex_robust() prototype declaration.
+ * pthread_mutex_lock.c:
+ Judge the mutex type with is_mutex_robust().
+ * pthread_mutex_timedlock.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.c:
+ Add non-robust mutex OWNERDEAD handlering.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.c:
Likewise.
+
+2003-11-13 Dave Howell <david.p.howell@intel.com>
+
+ * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
+ * sysdeps/unix/sysv/linux/ia64/lowlevelrtlock.c
+ * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h
+ Added changes for ia64 port updates. Should be in sync with
+ i386 files at this point
+ * sysdeps/unix/sysv/linux/ia64/pthread_cond_broadcast.c
+ * sysdeps/unix/sysv/linux/ia64/pthread_cond_signal.c
+ * sysdeps/unix/sysv/linux/ia64/pthread_cond_timedwait.c
+ * sysdeps/unix/sysv/linux/ia64/pthread_cond_wait.c
+ Duplicated from i386 side, instead of copying up to linux,
+ as this implies that kernel support is there for ufucond's.
+ We may still want to do this eventually but this seemd to
+ be the safe route for now.
+ * rtnptl___1_8: Add ia64 rtnptl feature support.
+
+2003-11-13 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.c:
+ Update mutex data members to reflect the lock/unlock situations.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.c:
Likewise.
+ * rtnptl___1_7: It passes tst-cond1-4.
+
+2003-11-12 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c:
+ Add __LK_FL() to get the mutex flags.
+
+2003-11-11 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h:
+ Add _POSIX_THREAD_PRIO_INHERIT, _POSIX_THREAD_PRIO_PROTECT,
+ _POSIX_THREAD_ROBUST_MUTEX_NP.
+ * glibc/sysdeps/generic/bits/confname.h:
+ Add _SC_THREAD_ROBUST_MUTEX_NP.
+ * glibc/sysdeps/posix/sysconf.c:
+ Add _SC_THREAD_ROBUST_MUTEX_NP support.
+
+2003-11-10 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.c:
+ Pass the address of mutex->__data.__lock to the kernel instead
of
+ mutex.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.c:
Likewise.
+
+2003-11-07 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c:
+ Add timespec calculation in __lll_cond_timedwait().
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c:
+ acas()-> atomic_compare_and_exchange_val_acq()
+ __vfulock_acas()->!atomic_comare_and_exchange_bool_acq()
+ * pthread_mutex_lock_waiting_for_mutex_whose_owner_died_np:
+ (void *)-1 to indicate endless waiting instead of 0.
+ * pthread_mutex_trylock.c: Likewise.
+ * pthread_mutex_lock.c: Likewise.
+ * rtnptl___1_6: pthread_cond_* are sitting on ufucond layer now.
+
+2003-11-06 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
Removed.
+ * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:
Removed.
+ * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
Removed.
+ * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
Removed.
+ * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
Removed.
+ * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
Removed.
+ * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
Removed.
+ * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
Removed.
+ * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
Removed.
+ * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
Removed.
+ * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
Removed.
+ * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
Removed.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.c: New
file.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.c: New file.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.c: New
file.
+ * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.c: New file.
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c:
+ Add __lll_fucond_* functions.
+ * sysdeps/unix/sysv/linux/i386/lowlevllock.h:
+ Add __lll_fucond_* functions declaration.
+
+2003-11-06 Boris Hu <boris.hu@intel.com>
+
+ * pthread_mutexattr_getprotocol.c:
+ RM bit and PI/PP bit swaps according FULOCK_FL_*. Update
+ its comments.
+ * pthread_mutexattr_setprotocol.c: Likewise.
+ * pthread_mutexattr_setrobust_np.c: Likewise.
+ * pthread_mutexattr_getrobust_np.c: Likewise.
+ * sysdeps/unix/sysv/linux/internaltypes.h: Likewise.
+
+2003-11-06 Boris Hu <boris.hu@intel.com>
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h:
+ FUSYN_FL_* modification according to FULOCK_FL_* definition.
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c:
+ There is a bit difference between the user space flags and the
kernel.
+ * sysdeps/pthread/pthread.h:
+ Robust mutex states update according to fulock_con.
+ * pthread_mutex_setconsistency_np.c: Likewise.
+ * pthread_mutex_setconsistency_np.c:
+ Return 0 instead of the value of sys_ufulock_consistency().
+ * rtnptl___1_5: It passes all robust-mode2 tests.
+
+2003-11-05 Boris Hu <boris.hu@intel.com>
+
+ * pthread_mutex_lock_waiting_for_mutex_whose_owner_died_np.c:
New file.
+ * pthread_mutex_owner_dead_np.c: Removed.
+ * Makefile: Rename pthread_mutex_owner_dead_np to
+ pthread_mutex_lock_waiting_for_mutex_whose_owner_died_np.
+ * Versions: Likewise.
+ * pthread_mutex_lock.c: Likewise.
+ * pthread_mutex_timedlock.c: Likewise.
+ * pthread_mutex_trylock.c: Likewise.
+
+2003-11-05 Boris Hu <boris.hu@intel.com>
+
+ * pthread_mutex_owner_dead_np.c: New file.
+ * Makefile: Add pthread_mutex_owner_dead_np.
+ * Versions: Add pthread_mutex_owner_dead_np.
+
+ * pthread_mutex_lock.c:
+ ESRCH->EOWNERDEAD, EBADR->ENOTRECOVERABLE according to fusyn
+ implementation.
+ abort() -> pthread_mutex_owner_dead_np() when owner dead occurs
+ to non-RM mutex.
+ * pthread_mutex_timedlock.c: Likewise.
+ * pthread_mutex_trylock.c: Likewise.
+ * rtnptl___1_4: With pthread_mutex_owner_dead_np support.
+
+2003-11-04 Boris Hu <boris.hu@intel.com>
+
+ * TODO.rtnptl: New file.
+ * README.rtnptl: New file.
+ * pthread_mutexattr_getprioceiling.c: New file.
+ * pthread_mutexattr_setprioceiling.c: New file.
+ * pthread_mutex_getprioceiling.c: New file.
+ * pthread_mutex_setprioceiling.c: New file.
+ * sysdeps/unix/sysv/linux/internaltypes.h:
+ Bit 0-6 of pthread_mutexattr is reserved to record priority
+ ceiling value.
+ Add PRIOCEILING_MASK and MAX_USER_RT_PRIO definition.
+ * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h:
+ Add __prioceiling to pthread_mutex_t;
+ * Makefile: Add pthread_mutexattr_{g,s}etprioceiling,
+ pthread_mutex_{g,s}etprioceiling.
+ * Versions: Add pthread_mutexattr_{g,s}etprioceiling,
+ pthread_mutex_{g,s}etprioceiling.
+ * pthread_mutex_init.c:
+ Add priority ceiling support.
+ * sysdeps/pthread/pthread.h:
+ Add pthread_mutexattr_{g,s}etprioceiling,
+ pthread_mutex_{g,s}etprioceiling protype.
+ * rtnptl___1_3: The tag records after adding the get/set
+ priority ceiling value features.
+
+2003-10-31 Boris Hu <boris.hu@intel.com>
+
+ * rtnptl___1_2:
+ Pass all nptl-0.60 test cases except tst-cond2 and tst-signal3
+ according to the diff between outputs of the normal nptl-0.60
+ and that of rtnptl___1_2.
+
+2003-10-31 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c:
+ Add EINTR support. Continue to try to get the lock when the
return
+ value of sys_ufulock_lock() is -EINTR instead of directly
returnning.
+
+2003-10-29 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/lowlevellock.h:
+ do {} while(0) protection to the debug function.
+
+2003-10-29 Boris Hu <boris.hu@intel.com>
+
+ * sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c
(__lll_rtmutex_trylock):
+ Update it according to kernel-lock.h change.
+
+2003-10-29 Boris Hu <boris.hu@intel.com>
+
+ * nptl/sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c: Change
+ ___lll_rtmutex_unlock() according to kernel-lock.h change.
+ * Add rtnptl___1_1 tag: The version builds ok and passes many
+ tests including tst-mutex5, tst-mutex7 against fusyn-1.6. But
+ it would fail in tst-cond2.
+
+2003-10-28 Boris Hu <boris.hu@intel.com>
+
+ * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c:
Redirect
+ pthread_mutex_cond_lock() to lll_rtmutex_lock() instead of
+ lll_mutex_cond_lock().
+
+2003-10-28 Boris Hu <boris.hu@intel.com>
+
+ * nptl/sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c: Pass
+ flags & FULOCK_FL_USER_MK to sys_ufulock_*() instead of flags
+ directly.
+
+2003-10-26 Boris Hu <boris.hu@intel.com>
+
+ * nptl/sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c: Get the
+ return value of INLINE_SYSCALL from errno when it returns -1.
+
+2003-10-26 Boris Hu <boris.hu@intel.com>
+
+ * nptl/sysdeps/unix/sysv/linux/i386/lowlevelrtlock.c: New file.
+ * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:
+ Code clean.
+ * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Move
+ ___lll_rtmutex_* into lowlevelrtmutex.c to accelerate the
recompile
+ process.
+ * nptl/Makefile: Add lowlevelrtlock.c.
+
+2003-10-25 Boris Hu <boris.hu@intel.com>
+
+ * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:
+ ___lll_rtmutex_timedlock() pass sys_ufulock_lock() with the
relative
+ timespec instead of the absolute timespec.
+
+2003-10-21 Boris Hu <boris.hu@intel.com>
+
+ * The first version against fusyn.
+
+
+
Good Luck !
Boris Hu (Hu Jiangtao)
Software Engineer@ICSL
86-021-5257-4545#1277
iNET: 8-752-1277
*****************************************
There are my thoughts, not my employer's.
*****************************************
"gpg --recv-keys --keyserver wwwkeys.pgp.net 0FD7685F"
{0FD7685F:CFD6 6F5C A2CB 7881 725B CEA0 956F 9F14 0FD7 685F}
More information about the Libc-alpha
mailing list