Re: thrsleep: remove ticket lock support

2016-09-03 Thread Philip Guenther
On Sat, Sep 3, 2016 at 2:53 PM, Ted Unangst wrote: > Michal Mazurek wrote: >> The system call is only called from librthreads, and librthreads doesn't >> use tickets. >> >> There is a comment in librthreads that says: >> /* >> * tickets don't work yet? (or seem much slower, with lots of system ti

Re: thrsleep: remove ticket lock support

2016-09-03 Thread Michal Mazurek
On 09:53:15, 3.09.16, Ted Unangst wrote: > please keep this line. Index: sys/kern/kern_synch.c === RCS file: /cvs/src/sys/kern/kern_synch.c,v retrieving revision 1.133 diff -u -p -r1.133 kern_synch.c --- sys/kern/kern_synch.c 6

Re: thrsleep: remove ticket lock support

2016-09-03 Thread Ted Unangst
Michal Mazurek wrote: > The system call is only called from librthreads, and librthreads doesn't > use tickets. > > There is a comment in librthreads that says: > /* > * tickets don't work yet? (or seem much slower, with lots of system time) > * until then, keep the struct around to avoid excess

thrsleep: remove ticket lock support

2016-09-03 Thread Michal Mazurek
The system call is only called from librthreads, and librthreads doesn't use tickets. There is a comment in librthreads that says: /* * tickets don't work yet? (or seem much slower, with lots of system time) * until then, keep the struct around to avoid excessive changes going * back and forth.