Skip to content
Commit a77754b4 authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Bulletproof MMU context locking.



1) Always spin_lock_init() in init_context().  The caller essentially
   clears it out, or copies the mm info from the parent.  In both
   cases we need to explicitly initialize the spinlock.

2) Always do explicit IRQ disabling while taking mm->context.lock
   and ctx_alloc_lock.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9132983a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment