From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f72.google.com (mail-vk0-f72.google.com [209.85.213.72]) by kanga.kvack.org (Postfix) with ESMTP id 213B96B03A0 for ; Tue, 28 Mar 2017 05:58:58 -0400 (EDT) Received: by mail-vk0-f72.google.com with SMTP id g22so11907756vke.22 for ; Tue, 28 Mar 2017 02:58:58 -0700 (PDT) Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com. [2607:f8b0:400c:c05::236]) by mx.google.com with ESMTPS id t193si1481258vkc.63.2017.03.28.02.58.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Mar 2017 02:58:57 -0700 (PDT) Received: by mail-vk0-x236.google.com with SMTP id d188so81737061vka.0 for ; Tue, 28 Mar 2017 02:58:57 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20170321091805.140676-1-dvyukov@google.com> From: Dmitry Vyukov Date: Tue, 28 Mar 2017 11:58:36 +0200 Message-ID: Subject: Re: [PATCH] fault-inject: use correct check for interrupts Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Akinobu Mita Cc: Andrew Morton , LKML , "linux-mm@kvack.org" On Sat, Mar 25, 2017 at 8:18 AM, Akinobu Mita wrote: > 2017-03-21 18:18 GMT+09:00 Dmitry Vyukov : >> 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 >> Cc: akinobu.mita@gmail.com >> Cc: linux-kernel@vger.kernel.org >> Cc: Andrew Morton >> Cc: linux-mm@kvack.org > > This change looks good to me. > > Reviewed-by: Akinobu Mita 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: email@kvack.org