Skip to content
Commit a64fc82c authored by Wonhong Kwon's avatar Wonhong Kwon Committed by Rafael J. Wysocki
Browse files

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: default avatarWonhong Kwon <wonhong.kwon@lge.com>
[ rjw: Subject ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent c9257f78
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment