Re: [PATCH] mm-add-vfree_atomic-fix

2016-12-13 Thread Andy Lutomirski
On Tue, Dec 13, 2016 at 11:21 AM, Andrey Ryabinin wrote: > On 12/13/2016 09:15 PM, Andy Lutomirski wrote: > > But not quite acked by me. What happened to the vfree code that causes vfree_deferred to be called in a preemptable context? That sounds like a bug. >>> >>> Not sure

Re: [PATCH] mm-add-vfree_atomic-fix

2016-12-13 Thread Andrey Ryabinin
On 12/13/2016 09:15 PM, Andy Lutomirski wrote: >>> >>> But not quite acked by me. What happened to the vfree code that >>> causes vfree_deferred to be called in a preemptable context? That >>> sounds like a bug. >> >> Not sure I understand but the above stack points to a preemptible >> context

Re: [PATCH] mm-add-vfree_atomic-fix

2016-12-13 Thread Andrey Ryabinin
On 12/13/2016 08:24 PM, Michal Hocko wrote: > On Tue 13-12-16 08:57:34, Andy Lutomirski wrote: >> On Tue, Dec 13, 2016 at 2:12 AM, Michal Hocko wrote: >>> [CC Andy] >>> >>> I've noticed the same >>> http://lkml.kernel.org/r/20161209142820.ga4...@dhcp22.suse.cz >>> and also concluded same as you

Re: [PATCH] mm-add-vfree_atomic-fix

2016-12-13 Thread Andy Lutomirski
On Tue, Dec 13, 2016 at 9:24 AM, Michal Hocko wrote: > On Tue 13-12-16 08:57:34, Andy Lutomirski wrote: >> On Tue, Dec 13, 2016 at 2:12 AM, Michal Hocko wrote: >> > [CC Andy] >> > >> > I've noticed the same >> > http://lkml.kernel.org/r/20161209142820.ga4...@dhcp22.suse.cz >> > and also concluded

Re: [PATCH] mm-add-vfree_atomic-fix

2016-12-13 Thread Michal Hocko
On Tue 13-12-16 08:57:34, Andy Lutomirski wrote: > On Tue, Dec 13, 2016 at 2:12 AM, Michal Hocko wrote: > > [CC Andy] > > > > I've noticed the same > > http://lkml.kernel.org/r/20161209142820.ga4...@dhcp22.suse.cz > > and also concluded same as you > > > > On Mon 12-12-16 17:46:21, Andrey Ryabinin

Re: [PATCH] mm-add-vfree_atomic-fix

2016-12-13 Thread Andy Lutomirski
On Tue, Dec 13, 2016 at 2:12 AM, Michal Hocko wrote: > [CC Andy] > > I've noticed the same > http://lkml.kernel.org/r/20161209142820.ga4...@dhcp22.suse.cz > and also concluded same as you > > On Mon 12-12-16 17:46:21, Andrey Ryabinin wrote: >> DEBUG_PREEMPT complains about using this_cpu_ptr() in

Re: [PATCH] mm-add-vfree_atomic-fix

2016-12-13 Thread Michal Hocko
[CC Andy] I've noticed the same http://lkml.kernel.org/r/20161209142820.ga4...@dhcp22.suse.cz and also concluded same as you On Mon 12-12-16 17:46:21, Andrey Ryabinin wrote: > DEBUG_PREEMPT complains about using this_cpu_ptr() in preemptible: > BUG: using smp_processor_id() in preemptible [

[PATCH] mm-add-vfree_atomic-fix

2016-12-12 Thread Andrey Ryabinin
DEBUG_PREEMPT complains about using this_cpu_ptr() in preemptible: BUG: using smp_processor_id() in preemptible [] code: iperf-300s-cs-l/277 caller is debug_smp_processor_id+0x17/0x19 CPU: 1 PID: 277 Comm: iperf-300s-cs-l Not tainted 4.9.0-rc8-00140-gcc639db #2