aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorzhong jiang <[email protected]>2019-04-08 12:07:17 +0800
committerGreg Kroah-Hartman <[email protected]>2019-04-25 19:40:20 +0200
commitd2ab99403ee00d8014e651728a4702ea1ae5e52c (patch)
tree7f697973980a03e9a6c2eca663d96f48c2a7d033 /tools/perf/scripts/python
parentaffada726cad2402804ec29fc000276c7dc23b95 (diff)
mm/memory_hotplug: Do not unlock when fails to take the device_hotplug_lock
When adding the memory by probing memory block in sysfs interface, there is an obvious issue that we will unlock the device_hotplug_lock when fails to takes it. That issue was introduced in Commit 8df1d0e4a265 ("mm/memory_hotplug: make add_memory() take the device_hotplug_lock") We should drop out in time when fails to take the device_hotplug_lock. Fixes: 8df1d0e4a265 ("mm/memory_hotplug: make add_memory() take the device_hotplug_lock") Reported-by: Yang yingliang <[email protected]> Signed-off-by: zhong jiang <[email protected]> Reviewed-by: Oscar Salvador <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions