2010/1/17 Kohji Okuno <okuno.kohji_at_jp.panasonic.com>: > Hello, > > Could you check sched_4bsd.patch, please? I think, instead, that what needs to happen is to have sched_switch() to do a lock handover from sleepq/turnstile spinlock to schedlock. That way, if threads are willing to contest on td_lock they will be still inhibited. I'm not sure if this patch breaks any invariant, if you may test I would appreciate: http://www.freebsd.org/~attilio/sched_4bsd_schedlock.diff Reviews and comments are appreciated. BTW, nice catch. Attilio -- Peace can only be achieved by understanding - A. EinsteinReceived on Mon Jan 18 2010 - 01:58:43 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC