diff options
author | 2012-08-09 12:48:46 -0500 | |
---|---|---|
committer | 2012-09-24 10:47:12 +0100 | |
commit | e5dc76b9afcfb936818261d65f6f9e1f2c346d59 (patch) | |
tree | aadd0c310d733c1a64cda0aaabcb4a063ae32285 /tools/perf/scripts/python | |
parent | GFS2: Combine functions gfs2_glock_dq_wait and wait_on_demote (diff) | |
download | wireguard-linux-e5dc76b9afcfb936818261d65f6f9e1f2c346d59.tar.xz wireguard-linux-e5dc76b9afcfb936818261d65f6f9e1f2c346d59.zip |
GFS2: Eliminate redundant calls to may_grant
Function add_to_queue was checking may_grant for the passed-in
holder for every iteration of its gh2 loop. Now it only checks it
once at the beginning to see if a try lock is futile.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions