diff options
author | Paul E. McKenney <[email protected]> | 2013-04-23 12:51:11 -0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2013-08-18 17:39:55 -0700 |
commit | b778ae25366e6f3891fe51306f56a3bca211975d (patch) | |
tree | f354bfde7096fdb5661843b8a51c6f618c3abea6 /tools/perf/util/trace-event-scripting.c | |
parent | 15100df81fcc3109862f7c03266c0abff4262564 (diff) |
debugobjects: Make debug_object_activate() return status
In order to better respond to things like duplicate invocations
of call_rcu(), RCU needs to see the status of a call to
debug_object_activate(). This would allow RCU to leak the callback in
order to avoid adding freelist-reuse mischief to the duplicate invoations.
This commit therefore makes debug_object_activate() return status,
zero for success and -EINVAL for failure.
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Sedat Dilek <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Linus Torvalds <[email protected]>
Tested-by: Sedat Dilek <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions