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)
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>

No differences found