[PATCH] add drain_local_pages() for CONFIG_SOFTWARE_SUSPEND
swsusp gets confused when pages which it freed do not appear in the buddy lists. So provide a function which will drain the calling CPU's per-cpu-pages into the buddy. The patch has been tested by Pavel. Presence of the new code is conditional on CONFIG_SOFTWARE_SUSPEND.
Showing
Please register or sign in to comment