• Linus Torvalds's avatar
    Be more careful about waking up rwsem waiters · 8aaac862
    Linus Torvalds authored
    Get a reference count on the the sleeper, so that
    it can't possibly go away before we've sent it the
    wakeup event.
    
    Noted by Nick Piggin <nickpiggin@yahoo.com.au>
             David Howells <dhowells@redhat.com>
    8aaac862
rwsem-spinlock.c 7.12 KB