Received: by 10.223.164.202 with SMTP id h10csp1239211wrb; Fri, 17 Nov 2017 17:00:09 -0800 (PST) X-Google-Smtp-Source: AGs4zMbg3Y5DeLnxPw8JHo3pfxP7qeVsoO9VeWXK1uAmZUakkuT2xut2ndRftqLyXkhxF127ASwP X-Received: by 10.101.68.69 with SMTP id e5mr6628737pgq.282.1510966809243; Fri, 17 Nov 2017 17:00:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510966809; cv=none; d=google.com; s=arc-20160816; b=vw3tP0HUBCE094cCNPsbgR66xX5JKdM6RyW7VO/4yvPV+vOKOb9UERxSjfOtq5TsV/ 5uurJbAxUkQUsJheBoTKAV2QahaC80psQ73IAz88ojsBomAHNnWf0U7Z6j12YP3CbC5x vsERpTPHMasKdUnD5CdcRWW+sLtemh4pQaJ81pkjnk5UK/L2+Md1fHk20WwLhaZjNccs dTlJWw6uHTejWEKVNKv5cojZ1J/I4hL/AWiAVWLMnj7Cg4SMUiwMkcNqrqS0IvBOnFNX R0aGAUKBfgQiI2kOYq95IoftIUBFG0mm5uWY1C+v+2pcY6hEuFkU5mr/uc9TF98WDriF 18mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=Nt+qSiyhZq2X324mdqQHrMBW7sA80UsQmpE90/NEBw8=; b=H/GwjZoADYr8Mz9sPql+MWkwt/e5ODLzCGqAl1KODolHTjzu2F0EQ8rCgtcWZh4P6b HE8bAGmf5Pws1OiPdryD/F57vsPQu5ciET5LxxJXCD9VaOI9FXbR2o6Vlox30p1Zv1RK fZDuzZneO7KGaAgalo/SU1JghCslLdGTcxLrx8LLSgRO+KKJrlGA21WyT0AD+rSLJNMj tMaJ6hxJm1NRzyJpXAWSyiRRH2lKfhS/NILbr3tYrQ68iEUXKzEm6e41ELAJMJzV4mIE pjrywl4py+77XHuRCOX5egbJxGUxhggsEeKVF/Z7UOxSH/exnM7bWkuMAUy6pTJfxWCk EjuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alibaba-inc.com header.s=default header.b=E92TmpeB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alibaba-inc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si3706402pla.183.2017.11.17.16.59.22; Fri, 17 Nov 2017 17:00:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alibaba-inc.com header.s=default header.b=E92TmpeB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alibaba-inc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753342AbdKQR6j (ORCPT + 93 others); Fri, 17 Nov 2017 12:58:39 -0500 Received: from out0-230.mail.aliyun.com ([140.205.0.230]:41211 "EHLO out0-230.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752554AbdKQR6d (ORCPT ); Fri, 17 Nov 2017 12:58:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1510941506; h=Subject:To:From:Message-ID:Date:MIME-Version:Content-Type; bh=Nt+qSiyhZq2X324mdqQHrMBW7sA80UsQmpE90/NEBw8=; b=E92TmpeBTGykL2VWuImsss2u/ptN6qEEtAK6/CKiZZwrRFBbIA/3XYiu2un0YDa1d1B6ywKYGiR9dzo0FMlJ/GNkkVSSEM2bCwv/iRW6EVvUz7L4K87x59UyGkMfkdItJTr7UvAns+0PVx3wFemnX+/wRsda8bndTNN9fnSvKrw= X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R531e4;CH=green;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e02c03305;MF=yang.s@alibaba-inc.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---.9RAVjVM_1510941499; Received: from US-143344MP.local(mailfrom:yang.s@alibaba-inc.com fp:121.0.29.200) by smtp.aliyun-inc.com(127.0.0.1); Sat, 18 Nov 2017 01:58:21 +0800 Subject: Re: [PATCH v2] mm: filemap: remove include of hardirq.h To: mhocko@kernel.org, akpm@linux-foundation.org, willy@infradead.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <1509985319-38633-1-git-send-email-yang.s@alibaba-inc.com> From: "Yang Shi" Message-ID: <43348133-9c30-4c4f-8bc9-498841a01bd6@alibaba-inc.com> Date: Sat, 18 Nov 2017 01:58:15 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1509985319-38633-1-git-send-email-yang.s@alibaba-inc.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi folks, Any comment on this patch? The quick build test passed on the latest Linus's tree. Thanks, Yang On 11/6/17 8:21 AM, Yang Shi wrote: > in_atomic() has been moved to include/linux/preempt.h, and the filemap.c > doesn't use in_atomic() directly at all, so it sounds unnecessary to > include hardirq.h. > > Signed-off-by: Yang Shi > --- > v1 --> v2: > * Removed the wrong message about kernel size change > > mm/filemap.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/mm/filemap.c b/mm/filemap.c > index 594d73f..57238f4 100644 > --- a/mm/filemap.c > +++ b/mm/filemap.c > @@ -31,7 +31,6 @@ > #include > #include > #include > -#include /* for BUG_ON(!in_atomic()) only */ > #include > #include > #include > From 1583334790393356885@xxx Mon Nov 06 16:28:43 +0000 2017 X-GM-THRID: 1583071819350852518 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread