X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=mm%2Fswap_state.c;h=6e81f2d52edc6aaf51d5f6b8b33cd60729c001ad;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=5717135766d9d52bfe89df728ce4129ed588b16f;hpb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;p=linux-2.6.git diff --git a/mm/swap_state.c b/mm/swap_state.c index 571713576..6e81f2d52 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -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;