Re: [PATCH net-next] net: remove useless pfmemalloc setting

2017-02-02 Thread David Miller
From: Eric Dumazet Date: Wed, 01 Feb 2017 18:13:23 -0800 > From: Eric Dumazet > > When __alloc_skb() allocates an skb from fast clone cache, > setting pfmemalloc on the clone is not needed. > > Clone will be properly initialized later at skb_clone() time, > including pfmemalloc field, as it is

[PATCH net-next] net: remove useless pfmemalloc setting

2017-02-01 Thread Eric Dumazet
From: Eric Dumazet When __alloc_skb() allocates an skb from fast clone cache, setting pfmemalloc on the clone is not needed. Clone will be properly initialized later at skb_clone() time, including pfmemalloc field, as it is included in the headers_start/headers_end section which is fully copied.