Re: [Devel] [PATCH rh7] ms/net: don't wait for order-3 page allocation

2018-02-14 Thread Andrey Ryabinin
On 02/13/2018 07:52 PM, Alexey Kuznetsov wrote: > Hello! > > BTW, check this a few lines above: > > gfp_head = gfp_mask; > if (gfp_head & __GFP_WAIT) > gfp_head |= __GFP_REPEAT; > > What is this?? > Can't tell you why this was added and what purpose does it se

Re: [Devel] [PATCH rh7] ms/net: don't wait for order-3 page allocation

2018-02-13 Thread Alexey Kuznetsov
Hello! BTW, check this a few lines above: gfp_head = gfp_mask; if (gfp_head & __GFP_WAIT) gfp_head |= __GFP_REPEAT; What is this?? On Tue, Feb 13, 2018 at 5:21 PM, Andrey Ryabinin wrote: > From: Shaohua Li > > We saw excessive direct memory compaction triggere

[Devel] [PATCH rh7] ms/net: don't wait for order-3 page allocation

2018-02-13 Thread Andrey Ryabinin
From: Shaohua Li We saw excessive direct memory compaction triggered by skb_page_frag_refill. This causes performance issues and add latency. Commit 5640f7685831e0 introduces the order-3 allocation. According to the changelog, the order-3 allocation isn't a must-have but to improve performance. B