Re: [E1000-devel] [PATCH] igb: don't reuse pages with pfmemalloc flag

2014-10-23 Thread Roman Gushchin
> > Interesting... > > It seems we also need to clear skb->pfmemalloc in napi_reuse_skb() Sounds reasonable, but are you sure, that we can just drop skb->pfmemalloc flag in napi_reuse_skb()? > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a messa

Re: [E1000-devel] [PATCH] igb: don't reuse pages with pfmemalloc flag

2014-10-23 Thread Roman Gushchin
Thank you! Probably we should add it to stable trees too? -- Regards, Roman 22.10.2014, 22:30, "Jeff Kirsher" : > On Wed, 2014-10-22 at 17:50 +0400, Roman Gushchin wrote: >>  Incoming packet is dropped silently by sk_filter(), if the skb was >>  allocated from pfmemalloc reserves and the corresp

Re: [E1000-devel] [PATCH] igb: don't reuse pages with pfmemalloc flag

2014-10-22 Thread Jeff Kirsher
On Wed, 2014-10-22 at 17:50 +0400, Roman Gushchin wrote: > Incoming packet is dropped silently by sk_filter(), if the skb was > allocated from pfmemalloc reserves and the corresponding socket is > not marked with the SOCK_MEMALLOC flag. > > Igb driver allocates pages for DMA with __skb_alloc_page(

Re: [E1000-devel] [PATCH] igb: don't reuse pages with pfmemalloc flag

2014-10-22 Thread Eric Dumazet
On Wed, 2014-10-22 at 17:50 +0400, Roman Gushchin wrote: > Incoming packet is dropped silently by sk_filter(), if the skb was > allocated from pfmemalloc reserves and the corresponding socket is > not marked with the SOCK_MEMALLOC flag. > > Igb driver allocates pages for DMA with __skb_alloc_page(