>     For the single-process (1-fork) case, syscall overhead improved 
>     moderately from 1.6 uS in 4.0 to 1.3 uS in 5.0.  I think the marked
>     improvement in the competing-cpu's case is due to the movement of the
>     MP lock inward somewhat (even for syscalls that aren't MP safe),
>     the removal of a considerable number of unnecessary 'lock'ed instructions,
>     and the removal of the cpl lock (which benefits spl*() code as well as
>     syscall/interrupt code).
> 
>     I got similar results for calling sigprocmask():

You should be able to remove the splhigh() from sigprocmask and run it 
MPSAFE.  At least, I can't find a reason not to (and it works here, yes).

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime.             \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to