diff options
author | Paul E. McKenney <[email protected]> | 2010-01-04 15:09:04 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-01-13 09:06:03 +0100 |
commit | 39c0bbfc07c6e28db7346d0e11106f2d045d3035 (patch) | |
tree | 82f0fdacb1eea0334e76e0adb8b9d5beec66f2a7 /net/unix/af_unix.c | |
parent | f3a8b5c6aa543bd87764418d63632eb65b80e2f6 (diff) |
rcu: Eliminate local variable lastcomp from force_quiescent_state()
Because rsp->fqs_active is set to 1 across
force_quiescent_state()'s switch statement, rcu_start_gp() will
refrain from starting a new grace period during this time.
Therefore, rsp->gpnum is constant, and can be propagated to all
uses of lastcomp, eliminating this local variable.
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <12626465502985-git-send-email->
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions