• Christoph Hellwig's avatar
    [SUNRPC]: Use completions instead of sleep_on for rpciod. · 8e8d5123
    Christoph Hellwig authored
    The rpciod shutdown code gives ugly sleep_on without BKL warnings in
    -mm.  And it looks indeed somewhat racy.
    
    The easy fix would be to simply use a completion as in the patch below,
    but that removes all the signal fuzzing semantics the current code has.
    I don't really understand why we want to cancel the operation by
    signals, but I think it'd be better to leave that to people familar with
    the code anyway..
    8e8d5123
sched.c 25.8 KB