aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorBob Peterson <[email protected]>2012-08-09 12:48:46 -0500
committerSteven Whitehouse <[email protected]>2012-09-24 10:47:12 +0100
commite5dc76b9afcfb936818261d65f6f9e1f2c346d59 (patch)
treeaadd0c310d733c1a64cda0aaabcb4a063ae32285 /lib/mpi/mpi-inline.h
parent81e1d45061d09f296d7664af70d3334840d123a0 (diff)
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 <[email protected]> Signed-off-by: Steven Whitehouse <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions