Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
locks: avoid taking global lock if possible when waking up blocked wa…
…iters Since we always hold the i_lock when inserting a new waiter onto the fl_block list, we can avoid taking the global lock at all if we find that it's empty when we go to wake up blocked waiters. Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Al Viro <[email protected]>
- Loading branch information