summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorYasunori Goto <y-goto@jp.fujitsu.com>2006-05-31 06:25:42 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-01 01:27:10 +0200
commit25a6df952542ad9f284421b6ffe28f3eb3df1305 (patch)
tree8b0649ff83f5455fcca4f255bf2189a5cbf81fc8 /ipc
parent[PATCH] fbcon: fix scrollback with logo issue immediately after boot (diff)
downloadlinux-25a6df952542ad9f284421b6ffe28f3eb3df1305.tar.xz
linux-25a6df952542ad9f284421b6ffe28f3eb3df1305.zip
[PATCH] spanned_pages is not updated at a case of memory hot-add
From: Yasunori Goto <y-goto@jp.fujitsu.com> If hot-added memory's address is smaller than old area, spanned_pages will not be updated. It must be fixed. example) Old zone_start_pfn = 0x60000, and spanned_pages = 0x10000 Added new memory's start_pfn = 0x50000, and end_pfn = 0x60000 new spanned_pages will be still 0x10000 by old code. (It should be updated to 0x20000.) Because old_zone_end_pfn will be 0x70000, and end_pfn smaller than it. So, spanned_pages will not be updated. In current code, spanned_pages is updated only when end_pfn is updated. But, it should be updated by subtraction between bigger end_pfn and new zone_start_pfn. Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com> Signed-off-by: Dave Hansen <haveblue@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions