[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAC5umyhuez=F1BQax=tos+5cKpE8rQ5hFc_eQGwP51mNpZ84rw@mail.gmail.com>
Date: Sat, 25 Mar 2017 16:18:50 +0900
From: Akinobu Mita <akinobu.mita@...il.com>
To: Dmitry Vyukov <dvyukov@...gle.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>, linux-mm@...ck.org
Subject: Re: [PATCH] fault-inject: use correct check for interrupts
2017-03-21 18:18 GMT+09:00 Dmitry Vyukov <dvyukov@...gle.com>:
> in_interrupt() also returns true when bh is disabled in task context.
> That's not what fail_task() wants to check.
> Use the new in_task() predicate that does the right thing.
>
> Signed-off-by: Dmitry Vyukov <dvyukov@...gle.com>
> Cc: akinobu.mita@...il.com
> Cc: linux-kernel@...r.kernel.org
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> Cc: linux-mm@...ck.org
This change looks good to me.
Reviewed-by: Akinobu Mita <akinobu.mita@...il.com>
Powered by blists - more mailing lists