On Sat, 23 Feb 2002, Matthew Dillon wrote:

>     Bruce, I've looked at the vector assembly and it looks like cleaning
>     up critical_enter() and critical_exit() for i386 ought to be simple.
>     If you have a complete patch set I would like to see it posted for
>     review or comitted, or if you don't want to deal with the commit I
>     would love to have it so I can bang it into shape for commit.

Patches for most of my sys tree are in sys.tar.gz in my home directory
on freefall.

>     Having a sleek critical_enter()/critical_exit() would double sched_lock's
>     performance.

I'm not sure about that.  Perhaps I've already optimized sched_lock
enough that I don't notice.  My changes were actually directed at
avoiding sched_lock's interrupt latency and it wasn't until the
critical_enter()/ exit() calls pessimized mtx_{lock,unlock}_spin in
-current that I managed to share enough code (the critnest
increment/decrement) to avoid losing efficiency.


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

Reply via email to