linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Vyukov <dvyukov@google.com>
To: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: [PATCH] fault-inject: use correct check for interrupts
Date: Tue, 28 Mar 2017 11:58:36 +0200	[thread overview]
Message-ID: <CACT4Y+Z1dGhUBqb2BuSQdkCOWVFqWw_5zDtXUe3yYdrQ_42giA@mail.gmail.com> (raw)
In-Reply-To: <CAC5umyhuez=F1BQax=tos+5cKpE8rQ5hFc_eQGwP51mNpZ84rw@mail.gmail.com>

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?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2017-03-28  9:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-21  9:18 Dmitry Vyukov
2017-03-25  7:18 ` Akinobu Mita
2017-03-28  9:58   ` Dmitry Vyukov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACT4Y+Z1dGhUBqb2BuSQdkCOWVFqWw_5zDtXUe3yYdrQ_42giA@mail.gmail.com \
    --to=dvyukov@google.com \
    --cc=akinobu.mita@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox