• Neil Brown's avatar
    [PATCH] PATCH 4/16: NFSD: BKL Removal: Locking in nfssvc.c · 734f5929
    Neil Brown authored
    Tidy up locking in nfssvc - preparing for BKL removal
    
    - nfsd_busy becomes atomic_t
    - nfsd_call_lock created to protect timing of calls and stats gathering
    - lock_kernel around thread creation and destruction.  It is
      sufficiently uncommon that it doesn't really need a lock of it's
      own.  It is currently under the BKL because all of the nfsservctl
      syscall is, but that is about to be removed so we preserve BKL here.
    734f5929
nfssvc.c 8.4 KB