Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-03 Thread Peter Zijlstra
On Fri, Mar 03, 2017 at 09:37:24AM +0100, Michal Hocko wrote: > Btw. can I assume your Acked-by? Yeah, Acked-by: Peter Zijlstra (Intel)

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-03 Thread Peter Zijlstra
On Fri, Mar 03, 2017 at 09:37:24AM +0100, Michal Hocko wrote: > Btw. can I assume your Acked-by? Yeah, Acked-by: Peter Zijlstra (Intel)

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-03 Thread Michal Hocko
On Wed 01-03-17 17:18:54, Michal Hocko wrote: > On Wed 01-03-17 17:12:20, Peter Zijlstra wrote: > > On Wed, Mar 01, 2017 at 05:05:30PM +0100, Michal Hocko wrote: > > > Anyway, does the following help? > > > > > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > > > index

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-03 Thread Michal Hocko
On Wed 01-03-17 17:18:54, Michal Hocko wrote: > On Wed 01-03-17 17:12:20, Peter Zijlstra wrote: > > On Wed, Mar 01, 2017 at 05:05:30PM +0100, Michal Hocko wrote: > > > Anyway, does the following help? > > > > > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > > > index

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-03 Thread Michal Hocko
On Fri 03-03-17 09:22:50, Peter Zijlstra wrote: > On Fri, Mar 03, 2017 at 09:04:20AM +0100, Michal Hocko wrote: > > On Wed 01-03-17 17:18:54, Michal Hocko wrote: > > > > Yes I think it would be better to send it sonner rahter than later. > > > People also might want to backport it to older

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-03 Thread Michal Hocko
On Fri 03-03-17 09:22:50, Peter Zijlstra wrote: > On Fri, Mar 03, 2017 at 09:04:20AM +0100, Michal Hocko wrote: > > On Wed 01-03-17 17:18:54, Michal Hocko wrote: > > > > Yes I think it would be better to send it sonner rahter than later. > > > People also might want to backport it to older

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-03 Thread Peter Zijlstra
On Fri, Mar 03, 2017 at 09:04:20AM +0100, Michal Hocko wrote: > On Wed 01-03-17 17:18:54, Michal Hocko wrote: > > Yes I think it would be better to send it sonner rahter than later. > > People also might want to backport it to older kernels... > > Would you mind if I took this patch and route it

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-03 Thread Peter Zijlstra
On Fri, Mar 03, 2017 at 09:04:20AM +0100, Michal Hocko wrote: > On Wed 01-03-17 17:18:54, Michal Hocko wrote: > > Yes I think it would be better to send it sonner rahter than later. > > People also might want to backport it to older kernels... > > Would you mind if I took this patch and route it

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-03 Thread Michal Hocko
On Fri 03-03-17 09:31:06, Michal Hocko wrote: > On Fri 03-03-17 09:22:50, Peter Zijlstra wrote: > > On Fri, Mar 03, 2017 at 09:04:20AM +0100, Michal Hocko wrote: > > > On Wed 01-03-17 17:18:54, Michal Hocko wrote: > > > > > > Yes I think it would be better to send it sonner rahter than later. > >

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-03 Thread Michal Hocko
On Fri 03-03-17 09:31:06, Michal Hocko wrote: > On Fri 03-03-17 09:22:50, Peter Zijlstra wrote: > > On Fri, Mar 03, 2017 at 09:04:20AM +0100, Michal Hocko wrote: > > > On Wed 01-03-17 17:18:54, Michal Hocko wrote: > > > > > > Yes I think it would be better to send it sonner rahter than later. > >

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-02 Thread Mike Galbraith
On Wed, 2017-03-01 at 16:46 +0100, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 01:29:57PM +0200, Nikolay Borisov wrote: > > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > > during memory allocation") added the memalloc_noio_(save|restore) functions > > to enable

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-02 Thread Mike Galbraith
On Wed, 2017-03-01 at 16:46 +0100, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 01:29:57PM +0200, Nikolay Borisov wrote: > > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > > during memory allocation") added the memalloc_noio_(save|restore) functions > > to enable

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Michal Hocko
On Wed 01-03-17 16:46:59, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 01:29:57PM +0200, Nikolay Borisov wrote: > > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > > during memory allocation") added the memalloc_noio_(save|restore) functions > > to enable people to

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Michal Hocko
On Wed 01-03-17 16:46:59, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 01:29:57PM +0200, Nikolay Borisov wrote: > > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > > during memory allocation") added the memalloc_noio_(save|restore) functions > > to enable people to

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 01:29:57PM +0200, Nikolay Borisov wrote: > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > during memory allocation") added the memalloc_noio_(save|restore) functions > to enable people to modify the MM behavior by disbaling I/O during memory >

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 01:29:57PM +0200, Nikolay Borisov wrote: > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > during memory allocation") added the memalloc_noio_(save|restore) functions > to enable people to modify the MM behavior by disbaling I/O during memory >

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 04:46:59PM +0100, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 01:29:57PM +0200, Nikolay Borisov wrote: > > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > > during memory allocation") added the memalloc_noio_(save|restore) functions > > to

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 04:46:59PM +0100, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 01:29:57PM +0200, Nikolay Borisov wrote: > > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > > during memory allocation") added the memalloc_noio_(save|restore) functions > > to

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Michal Hocko
On Wed 01-03-17 17:12:20, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 05:05:30PM +0100, Michal Hocko wrote: > > Anyway, does the following help? > > > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > > index 47e4f82380e4..d5386ad7ed3f 100644 > > ---

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Michal Hocko
On Wed 01-03-17 17:12:20, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 05:05:30PM +0100, Michal Hocko wrote: > > Anyway, does the following help? > > > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > > index 47e4f82380e4..d5386ad7ed3f 100644 > > ---

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 05:05:30PM +0100, Michal Hocko wrote: > Anyway, does the following help? > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > index 47e4f82380e4..d5386ad7ed3f 100644 > --- a/kernel/locking/lockdep.c > +++ b/kernel/locking/lockdep.c > @@ -47,6 +47,7 @@ >

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 05:05:30PM +0100, Michal Hocko wrote: > Anyway, does the following help? > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > index 47e4f82380e4..d5386ad7ed3f 100644 > --- a/kernel/locking/lockdep.c > +++ b/kernel/locking/lockdep.c > @@ -47,6 +47,7 @@ >

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Michal Hocko
On Wed 01-03-17 13:29:57, Nikolay Borisov wrote: > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > during memory allocation") added the memalloc_noio_(save|restore) functions > to enable people to modify the MM behavior by disbaling I/O during memory > allocation. This

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Michal Hocko
On Wed 01-03-17 13:29:57, Nikolay Borisov wrote: > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > during memory allocation") added the memalloc_noio_(save|restore) functions > to enable people to modify the MM behavior by disbaling I/O during memory > allocation. This

[PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Nikolay Borisov
Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O during memory allocation") added the memalloc_noio_(save|restore) functions to enable people to modify the MM behavior by disbaling I/O during memory allocation. This was further extended in Fixes: 934f3072c17c ("mm: clear

[PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Nikolay Borisov
Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O during memory allocation") added the memalloc_noio_(save|restore) functions to enable people to modify the MM behavior by disbaling I/O during memory allocation. This was further extended in Fixes: 934f3072c17c ("mm: clear