diff options
author | Lai Jiangshan <[email protected]> | 2012-11-29 16:46:03 +0800 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2013-02-07 15:08:19 -0800 |
commit | 6e6f1b307e23201fb3e7aaf16322e80355d2a3d5 (patch) | |
tree | 1664a448ebf4d45c0aadf6fe186644ee5d8ebdce /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5a41344a3d83ef2c08e40bfce1efa5795def9b82 (diff) |
srcu: Add might_sleep() annotation to synchronize_srcu()
Although synchronize_srcu() can sleep, it will not sleep if the fast
path succeeds, which means that illegal use of synchronize_rcu()
might go unnoticed. This commit therefore adds might_sleep(), which
unconditionally catches illegal use of synchronize_rcu() from atomic
context.
Signed-off-by: Lai Jiangshan <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions