diff options
author | KOSAKI Motohiro <[email protected]> | 2010-12-02 14:31:19 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-12-02 14:51:15 -0800 |
commit | 20d6c96b5f1cad5c5da4641945ec17a1d9a1afc8 (patch) | |
tree | 38168dc87d58fd924adb3aaca540cd23ad1246bf /tools/perf/util/trace-event-scripting.c | |
parent | 4fe65cab844e6d3d7d310e66a501d5e7242ecb54 (diff) |
mem-hotplug: introduce {un}lock_memory_hotplug()
Presently hwpoison is using lock_system_sleep() to prevent a race with
memory hotplug. However lock_system_sleep() is a no-op if
CONFIG_HIBERNATION=n. Therefore we need a new lock.
Signed-off-by: KOSAKI Motohiro <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Kamezawa Hiroyuki <[email protected]>
Suggested-by: Hugh Dickins <[email protected]>
Acked-by: Hugh Dickins <[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