[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <be8ad6ad-4b38-90b2-fe04-0e13d9f71ede@iogearbox.net>
Date: Wed, 12 Sep 2018 23:49:45 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Tushar Dave <tushar.n.dave@...cle.com>, ast@...nel.org,
davem@...emloft.net, netdev@...r.kernel.org,
john.fastabend@...il.com
Subject: Re: [PATCH bpf] bpf: use __GFP_COMP while allocating page
On 09/12/2018 10:15 PM, Tushar Dave wrote:
> Helper bpg_msg_pull_data() can allocate multiple pages while
> linearizing multiple scatterlist elements into one shared page.
> However, if the shared page has size > PAGE_SIZE, using
> copy_page_to_iter() causes below warning.
>
> e.g.
> [ 6367.019832] WARNING: CPU: 2 PID: 7410 at lib/iov_iter.c:825
> page_copy_sane.part.8+0x0/0x8
>
> To avoid above warning, use __GFP_COMP while allocating multiple
> contiguous pages.
>
> Signed-off-by: Tushar Dave <tushar.n.dave@...cle.com>
Applied to bpf, thanks Tushar!
Powered by blists - more mailing lists