Re: [PATCH net 1/3] mm, percpu: add support for __GFP_NOWARN flag

2017-10-17 Thread Alexei Starovoitov
On Tue, Oct 17, 2017 at 04:55:52PM +0200, Daniel Borkmann wrote: > Add an option for pcpu_alloc() to support __GFP_NOWARN flag. > Currently, we always throw a warning when size or alignment > is unsupported (and also dump stack on failed allocation > requests). The warning itself is harmless since

[PATCH net 1/3] mm, percpu: add support for __GFP_NOWARN flag

2017-10-17 Thread Daniel Borkmann
Add an option for pcpu_alloc() to support __GFP_NOWARN flag. Currently, we always throw a warning when size or alignment is unsupported (and also dump stack on failed allocation requests). The warning itself is harmless since we return NULL anyway for any failed request, which callers are required