swsusp uses GFP_ATOMIC, but it can afford to use __GFP_WAIT, which will
permit it to reclaim clean pagecache instead of emitting scary
page-allocation-failure messages.
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
 {
        struct bio *bio;
 
-       bio = bio_alloc(GFP_ATOMIC, 1);
+       bio = bio_alloc(__GFP_WAIT | __GFP_HIGH, 1);
        if (!bio)
                return -ENOMEM;
        bio->bi_sector = page_off * (PAGE_SIZE >> 9);
                return -ENOSPC;
 
        if (bio_chain) {
-               src = (void *)__get_free_page(GFP_ATOMIC);
+               src = (void *)__get_free_page(__GFP_WAIT | __GFP_HIGH);
                if (src) {
                        memcpy(src, buf, PAGE_SIZE);
                } else {
        if (!start)
                return -EINVAL;
 
-       handle->cur = (struct swap_map_page *)get_zeroed_page(GFP_ATOMIC);
+       handle->cur = (struct swap_map_page *)get_zeroed_page(__GFP_WAIT | __GFP_HIGH);
        if (!handle->cur)
                return -ENOMEM;