]> git.baikalelectronics.ru Git - kernel.git/commit
revert "mm/memory-hotplug: fix lowmem count overflow when offline pages"
authorJoonyoung Shim <jy0922.shim@samsung.com>
Mon, 30 Sep 2013 20:45:01 +0000 (13:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 30 Sep 2013 21:31:01 +0000 (14:31 -0700)
commit74793d583c233487f58a861c1381d9bf635e84c7
treedc7454fa3728578a9e7cf030cc9c0ec6be41808a
parent37ef94e6f16d7a7fd13f8c0799ead98737a94c8a
revert "mm/memory-hotplug: fix lowmem count overflow when offline pages"

This reverts commit 8f3e21bf1d91 ("mm/memory-hotplug: fix lowmem count
overflow when offline pages").

The fixed bug by commit 8f3e21b was fixed to another way by commit
a813125947cb ("mm: correctly update zone->managed_pages").  That commit
enhances memory_hotplug.c to adjust totalhigh_pages when hot-removing
memory, for details please refer to:

  http://marc.info/?l=linux-mm&m=136957578620221&w=2

As a result, commit 8f3e21bf1d91 currently causes duplicated decreasing
of totalhigh_pages, thus the revert.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Reviewed-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Cc: Jiang Liu <liuj97@gmail.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c