page_frag: unify gfp bits for order 3 page allocation
[linux-block.git] / drivers / vhost / net.c
index f2ed7167c848096ef8c8f338325bedc278df65fe..e574e21cc0ca39d1e477ea3e28ababbcdfd9a49c 100644 (file)
@@ -670,7 +670,7 @@ static bool vhost_net_page_frag_refill(struct vhost_net *net, unsigned int sz,
                /* Avoid direct reclaim but allow kswapd to wake */
                pfrag->page = alloc_pages((gfp & ~__GFP_DIRECT_RECLAIM) |
                                          __GFP_COMP | __GFP_NOWARN |
-                                         __GFP_NORETRY,
+                                         __GFP_NORETRY | __GFP_NOMEMALLOC,
                                          SKB_FRAG_PAGE_ORDER);
                if (likely(pfrag->page)) {
                        pfrag->size = PAGE_SIZE << SKB_FRAG_PAGE_ORDER;