[PATCH] mm: add a new function (needed for swap suspend)