summaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
authorToshi Kani <toshi.kani@hp.com>2013-04-30 00:08:17 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 00:54:37 +0200
commitae8e3a915aef5af5ace5936c56f05f0b1502ded1 (patch)
tree379207c57c1773d77b5796e95ac7d7f5445b9271 /mm/memory_hotplug.c
parentmm: rewrite the comment over migrate_pages() more comprehensibly (diff)
downloadlinux-ae8e3a915aef5af5ace5936c56f05f0b1502ded1.tar.xz
linux-ae8e3a915aef5af5ace5936c56f05f0b1502ded1.zip
resource: add __adjust_resource() for internal use
Add __adjust_resource(), which is called by adjust_resource() internally after the resource_lock is held. There is no interface change to adjust_resource(). This change allows other functions to call __adjust_resource() internally while the resource_lock is held. Signed-off-by: Toshi Kani <toshi.kani@hp.com> Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> Acked-by: David Rientjes <rientjes@google.com> Cc: Ram Pai <linuxram@us.ibm.com> Cc: T Makphaibulchoke <tmac@hp.com> Cc: Wen Congyang <wency@cn.fujitsu.com> Cc: Tang Chen <tangchen@cn.fujitsu.com> Cc: Jiang Liu <jiang.liu@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions