vserver 1.9.3
[linux-2.6.git] / mm / swap_state.c
index 5717135..6e81f2d 100644 (file)
@@ -171,7 +171,7 @@ int add_to_swap(struct page * page)
                /*
                 * Add it to the swap cache and mark it dirty
                 */
-               err = __add_to_swap_cache(page, entry, GFP_ATOMIC);
+               err = __add_to_swap_cache(page, entry, GFP_ATOMIC|__GFP_NOWARN);
 
                if (pf_flags & PF_MEMALLOC)
                        current->flags |= PF_MEMALLOC;