• David Howells's avatar
    KEYS: Make the key reaper non-reentrant · b072e9bc
    David Howells authored
    Make the key reaper non-reentrant by sticking it on the appropriate system work
    queue when we queue it.  This will allow it to have global state and drop
    locks.  It should probably be non-reentrant already as it may spend a long time
    holding the key serial spinlock, and so multiple entrants can spend long
    periods of time just sitting there spinning, waiting to get the lock.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    Signed-off-by: default avatarJames Morris <jmorris@namei.org>
    b072e9bc
key.c 26.7 KB