summaryrefslogtreecommitdiff
path: root/kernel/rwsem.c
diff options
context:
space:
mode:
authorNathan Fontenot <nfont@austin.ibm.com>2008-10-18 20:27:14 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 08:52:32 -0700
commitde7f0cba96786cf9ec9da4532c1b25f733da9b6f (patch)
treefc0273587d255ac3f1b554b4a98229c3e231ebf6 /kernel/rwsem.c
parent7a6560e02556b6f0a798c247f3a557c523d9701b (diff)
memory hotplug: release memory regions in PAGES_PER_SECTION chunks
During hotplug memory remove, memory regions should be released on a PAGES_PER_SECTION size chunks. This mirrors the code in add_memory where resources are requested on a PAGES_PER_SECTION size. Attempting to release the entire memory region fails because there is not a single resource for the total number of pages being removed. Instead the resources for the pages are split in PAGES_PER_SECTION size chunks as requested during memory add. Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com> Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com> Acked-by: Yasunori Goto <y-goto@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/rwsem.c')
0 files changed, 0 insertions, 0 deletions