diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-07-11 17:53:48 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-07-13 16:57:18 -0400 |
commit | 301bfa483016d48b7fb9cbad87c0a04a15c25b90 (patch) | |
tree | 1e86b94a773529cae5a3144e03ff7b35f7673188 /fs/binfmt_flat.c | |
parent | 00422483ad415d6267d36711f0e51f4bbbd653ed (diff) | |
download | linux-301bfa483016d48b7fb9cbad87c0a04a15c25b90.tar.gz linux-301bfa483016d48b7fb9cbad87c0a04a15c25b90.tar.bz2 linux-301bfa483016d48b7fb9cbad87c0a04a15c25b90.zip |
NFS: Don't run wake_up_bit() when nobody is waiting...
"perf lock" shows fairly heavy contention for the bit waitqueue locks
when doing an I/O heavy workload.
Use a bit to tell whether or not there has been contention for a lock
so that we can optimise away the bit waitqueue options in those cases.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/binfmt_flat.c')
0 files changed, 0 insertions, 0 deletions