CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2013/06/01 19:55:52

Modified files:
        sys/arch/amd64/amd64: mutex.S 
        sys/arch/amd64/include: mutex.h 

Log message:
To prevent lock ordering problems with the kernel lock, we need to make sure
we block all interrupts that can grab the kernel lock.  The simplest way to
achieve this is to make sure mutexes always raise the ipl to the highest
level that has interrupts that grab the kernel lock.  This will allow us
to have "mpsafe" interrupt handlers at lower priority levels.

No change for non-MULTIPROCESSOR kernels.

discussed with many
ok mpi@, tedu@

Reply via email to