• Andrew Morton's avatar
    [PATCH] add drain_local_pages() for CONFIG_SOFTWARE_SUSPEND · 6306d485
    Andrew Morton authored
    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.
    6306d485
page_alloc.c 35.4 KB