]> git.baikalelectronics.ru Git - kernel.git/commit
PM / hibernate: exclude freed pages from allocated pages printout
authorWonhong Kwon <wonhongkwon@gmail.com>
Tue, 3 Feb 2015 08:22:00 +0000 (17:22 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Feb 2015 21:53:53 +0000 (22:53 +0100)
commitb4d4c471897acc30e040e0b90d1d20e7dd8cc060
tree80eb900e1737770f4245e181fe8bcd5164a4f075
parent6c2595a9d0ef964a95ddd387e98c028d4ae929c0
PM / hibernate: exclude freed pages from allocated pages printout

hibernate_preallocate_memory() prints out that how many pages are
allocated, but it doesn't take into consideration the pages freed by
free_unnecessary_pages(). Therefore, it always shows the count more
than actually allocated.

Signed-off-by: Wonhong Kwon <wonhong.kwon@lge.com>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/snapshot.c