aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorNathan Zimmer <[email protected]>2014-01-23 15:53:26 -0800
committerLinus Torvalds <[email protected]>2014-01-23 16:36:52 -0800
commitac13c4622bda2a9ff8f57bbbfeff48b2a42d0963 (patch)
treea4bc187bba86700f5cb732651bf2ea905632a6e0 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent354f17e1e2512018a603793cc133e2f296f6ebc6 (diff)
mm/memory_hotplug.c: move register_memory_resource out of the lock_memory_hotplug
We don't need to do register_memory_resource() under lock_memory_hotplug() since it has its own lock and doesn't make any callbacks. Also register_memory_resource return NULL on failure so we don't have anything to cleanup at this point. The reason for this rfc is I was doing some experiments with hotplugging of memory on some of our larger systems. While it seems to work, it can be quite slow. With some preliminary digging I found that lock_memory_hotplug is clearly ripe for breakup. It could be broken up per nid or something but it also covers the online_page_callback. The online_page_callback shouldn't be very hard to break out. Also there is the issue of various structures(wmarks come to mind) that are only updated under the lock_memory_hotplug that would need to be dealt with. Cc: Tang Chen <[email protected]> Cc: Wen Congyang <[email protected]> Cc: Kamezawa Hiroyuki <[email protected]> Reviewed-by: Yasuaki Ishimatsu <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Cc: Hedi <[email protected]> Cc: Mike Travis <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions