Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1610505

Re: [PATCH] fault-inject: use correct check for interrupts

From Dmitry Vyukov <dvyukov@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH] fault-inject: use correct check for interrupts
Date 2017-03-28 12:00 +0200
Message-ID <tpW4W-5IO-7@gated-at.bofh.it> (permalink)
References <tno7o-1hh-11@gated-at.bofh.it> <toO9r-5RU-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Mar 25, 2017 at 8:18 AM, Akinobu Mita <akinobu.mita@gmail.com> wrote:
> 2017-03-21 18:18 GMT+09:00 Dmitry Vyukov <dvyukov@google.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@google.com>
>> Cc: akinobu.mita@gmail.com
>> Cc: linux-kernel@vger.kernel.org
>> Cc: Andrew Morton <akpm@linux-foundation.org>
>> Cc: linux-mm@kvack.org
>
> This change looks good to me.
>
> Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>


Andrew, will you take this to mm please?

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] fault-inject: use correct check for interrupts Dmitry Vyukov <dvyukov@google.com> - 2017-03-28 12:00 +0200

csiph-web