[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ab55c4a7-ee67-eead-eeeb-4dc92eaf9aee@gmail.com>
Date: Mon, 9 Apr 2018 22:46:05 +0800
From: Jia-Ju Bai <baijiaju1990@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>, gerrit@....abdn.ac.uk,
davem@...emloft.net
Cc: dccp@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: dccp: Replace GFP_ATOMIC with GFP_KERNEL in
dccp_init
On 2018/4/9 22:42, Eric Dumazet wrote:
>
> On 04/09/2018 07:10 AM, Jia-Ju Bai wrote:
>> dccp_init() is never called in atomic context.
>> This function is only set as a parameter of module_init().
>>
>> Despite never getting called from atomic context,
>> dccp_init() calls __get_free_pages() with GFP_ATOMIC,
>> which waits busily for allocation.
> What do you mean by "waits busily" ?
>
> GFP_ATOMIC does not sleep, does not wait.
Sorry, I should modify it to "does not sleep".
Do you think it is okay?
Best wishes,
Jia-Ju Bai
Powered by blists - more mailing lists