Re: [PATCH] Fix sleeping memory allocation in atomic context

2015-10-15 Thread Jozsef Kadlecsik
On Thu, 15 Oct 2015, Nikolay Aleksandrov wrote: > On 10/15/2015 10:57 AM, Nikolay Borisov wrote: > > Ipset 6.26 produces the following splat: > > > [snip] > > > > The call chain leading to this as follow: > > call_add -> list_set_uadt -> list_set_uadd -> kzalloc(, GFP_KERNEL). > > And since GFP_

Re: [PATCH] Fix sleeping memory allocation in atomic context

2015-10-15 Thread Jozsef Kadlecsik
On Thu, 15 Oct 2015, Nikolay Borisov wrote: > Ipset 6.26 produces the following splat: > > BUG: sleeping function called from invalid context at mm/page_alloc.c:2759 > in_atomic(): 1, irqs_disabled(): 0, pid: 9664, name: ipset > CPU: 18 PID: 9664 Comm: ipset Tainted: G O 3.12.47-clouder

Re: [PATCH] Fix sleeping memory allocation in atomic context

2015-10-15 Thread Nikolay Aleksandrov
On 10/15/2015 10:57 AM, Nikolay Borisov wrote: > Ipset 6.26 produces the following splat: > [snip] > > The call chain leading to this as follow: > call_add -> list_set_uadt -> list_set_uadd -> kzalloc(, GFP_KERNEL). > And since GFP_KERNEL allows initiating direct reclaim thus > potentially sleepi

[PATCH] Fix sleeping memory allocation in atomic context

2015-10-15 Thread Nikolay Borisov
Ipset 6.26 produces the following splat: BUG: sleeping function called from invalid context at mm/page_alloc.c:2759 in_atomic(): 1, irqs_disabled(): 0, pid: 9664, name: ipset CPU: 18 PID: 9664 Comm: ipset Tainted: G O 3.12.47-clouder3 #1 Hardware name: Supermicro X10DRi/X10DRi, BIOS 1.1