diff options
author | Zeng Zhaoming <[email protected]> | 2010-12-02 14:31:13 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-12-02 14:51:14 -0800 |
commit | 55cfaa3cbdd29c4919ecb5fb8965c310f357e48c (patch) | |
tree | 914fad20ce59c42bd3781820c8fb73286581a5ae /tools/perf/util/trace-event-scripting.c | |
parent | 1f64d69c7ad2e48e697493e45590679f7a69b7b2 (diff) |
mm/mempolicy.c: add rcu read lock to protect pid structure
find_task_by_vpid() should be protected by rcu_read_lock(), to prevent
free_pid() reclaiming pid.
Signed-off-by: Zeng Zhaoming <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions