Yup. Martin Bligh is cooking up a multi-page allocation API, so when that's
in place, swsusp need only do:
LIST_HEAD(foo);
alloc_many_pages(&foo, nr_pages, __GFP_HIGHMEM|__GFP_WAIT);
free_many_pages(&foo);
So I suggest you do something local for the while, plan to use that later.
(Actually, the implementation would probably have a heart attack if you
asked for 100,000 pages so you may need to sit in a loop there; we'll see).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/