commit | c60514b6314137a9505c60966fda2094b22a2fda | [log] [tgz] |
---|---|---|
author | Jiang Liu <[email protected]> | Fri Feb 22 16:33:56 2013 -0800 |
committer | Linus Torvalds <[email protected]> | Sat Feb 23 17:50:15 2013 -0800 |
tree | b628ce908c641f2ec1566854f24304915352aa9d | |
parent | 306f2e9eed173c5b8f3318e36cf92a7df3c3f6d5 [diff] |
mm: increase totalram_pages when free pages allocated by bootmem allocator Function put_page_bootmem() is used to free pages allocated by bootmem allocator, so it should increase totalram_pages when freeing pages into the buddy system. Signed-off-by: Jiang Liu <[email protected]> Cc: Wen Congyang <[email protected]> Cc: David Rientjes <[email protected]> Cc: Jiang Liu <[email protected]> Cc: Maciej Rutecki <[email protected]> Cc: Chris Clayton <[email protected]> Cc: "Rafael J . Wysocki" <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Minchan Kim <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Jianguo Wu <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>