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

From: Peter Zijlstra
Date: Wed Mar 01 2017 - 11:12:27 EST


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 @@
> #include <linux/kmemcheck.h>
> #include <linux/random.h>
> #include <linux/jhash.h>
> +#include <linux/sched.h>

No, Ingo moved that to linux/sched/mm.h in tip/master, which was the
problem.

But I think this needs to go to Linus in this cycle, right? In which
case Ingo gets to sort the fallout.