cvs commit: src/lib/libpthread/thread thr_attr_get_np.c thr_cancel.c thr_getschedparam.c thr_join.c thr_mutex_prioceiling.c thr_sigaction.c thr_sigmask.c thr_sigpending.c thr_sigsuspend.c

David Schultz das at FreeBSD.ORG
Sun Jul 6 23:03:23 PDT 2003


On Sun, Jul 06, 2003, David Xu wrote:
> davidxu     2003/07/06 21:28:23 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib/libpthread/thread thr_attr_get_np.c thr_cancel.c 
>                           thr_getschedparam.c thr_join.c 
>                           thr_mutex_prioceiling.c thr_sigaction.c 
>                           thr_sigmask.c thr_sigpending.c 
>                           thr_sigsuspend.c 
>   Log:
>   Avoid accessing user provided parameters in critical region.

Cool.  What happens if a page fault is taken in a critical region?
Does this merely make the KSE unusable by other threads until the
page is faulted in, or does it deadlock the UTS?  (If the latter
is true, you'd need to wire a stack page or two to ensure
correctness, or do soemthing differently.)


More information about the cvs-all mailing list