Received: by 10.223.164.202 with SMTP id h10csp394885wrb; Mon, 6 Nov 2017 08:22:48 -0800 (PST) X-Google-Smtp-Source: ABhQp+QNNfRAIESn/UAFsFNRBqCUNNukefoqpIBYuK6E4HtNvLY6krH5/39uibg/hZ9NiUOcT1qv X-Received: by 10.101.99.199 with SMTP id n7mr16063047pgv.247.1509985368237; Mon, 06 Nov 2017 08:22:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509985368; cv=none; d=google.com; s=arc-20160816; b=eEgIhiHcJnLzx9VP/4DCuBFoIou55adlcHYMZ1cWewGvdw6yIF2JW+dgQFAoeh5uoW 8MQefd+8NPW3Ak4AmO9uuihrQnVcYNTcG0bmCY3fxJSl97nxkv2Ki01C9eR1z9bk/uUm Tq8WBBlTv1Xy4upsOhn690aKNcpBAD/P3RNQz6hUd1x14qKlN0zES03JfDdhxYx3HzXl MdHZp9DU3miB4XNxzNFvMw5bMxOcqjJWwqT5wuv5wl4NrwpOOodfEpSqZJJ2YA8ATwjz mo4+FRKNVps2/cpJ9+3zFzBDNJo0rLuKmPX+uQpyQ4FIbOUyQkK9CVzCqO2FF2B1aLFu zRbQ== 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=kmSeW6dQjlQpZfzz7ClP3O5ZyrfWdRn5XtxOmCwskhs=; b=tey/G9bJPN8vSzu6JZj3IuUMPF+Cxvopjg4yJDM530RyV7+tC881U9tEkM0rNLJyIY nzHuUtTI+6yO5XJqpCP+o6TJj2J2XchvwaUIUCINoq1wDmg55CZ2ifK104KGBC4cqfJQ SsmE9ruJ59o4/NncsGI2ZGMNJrhoHnQFVETNXyayuO4PIp6ueJYMhWNF/kAdxpqirpMP Lo/5WiqVYn91T1Fkll3NlLoQPMw+zvtCR40kyXQ3BAImkjp8YjhuPvx203ttdXNaYKrI iP/FY2PCCbjFuI4VGEcB0ynQr43uoQhyUi2/XwwzgWpcA+XPOwDRTPi6PguPHg/Df60q A+iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alibaba-inc.com header.s=default header.b=d7fh+evy; 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 v10si9958667plz.591.2017.11.06.08.22.34; Mon, 06 Nov 2017 08:22:48 -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=d7fh+evy; 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 S1754073AbdKFQGg (ORCPT + 97 others); Mon, 6 Nov 2017 11:06:36 -0500 Received: from out0-219.mail.aliyun.com ([140.205.0.219]:33724 "EHLO out0-219.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753460AbdKFQGe (ORCPT ); Mon, 6 Nov 2017 11:06:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1509984383; h=Subject:To:From:Message-ID:Date:MIME-Version:Content-Type; bh=kmSeW6dQjlQpZfzz7ClP3O5ZyrfWdRn5XtxOmCwskhs=; b=d7fh+evyipsqltVrxo5e0I+7LRPufcyOLAfu5z3B+Y8MYsdnDwpAxz+QCo8Z2GHTCQIiZfL0aTkn+x0C2eFzZT9X+p5dYl2sMMKwkzx/DBbL2UKn4SmeXDwVn+FFfA7TOS2XM+lBPLRD+RLMSfXUCXGLIUEvZ1GOWyVWIb4m+yw= X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R151e4;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e02c03298;MF=yang.s@alibaba-inc.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---.9L82qc1_1509984376; Received: from US-143344MP.local(mailfrom:yang.s@alibaba-inc.com ip:121.0.29.200) by smtp.aliyun-inc.com(127.0.0.1); Tue, 07 Nov 2017 00:06:18 +0800 Subject: Re: [PATCH] mm: filemap: remove include of hardirq.h To: Matthew Wilcox Cc: mhocko@kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <1509734868-120762-1-git-send-email-yang.s@alibaba-inc.com> <20171104134709.GA23784@bombadil.infradead.org> From: "Yang Shi" Message-ID: Date: Tue, 07 Nov 2017 00:06:11 +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: <20171104134709.GA23784@bombadil.infradead.org> 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 On 11/4/17 6:47 AM, Matthew Wilcox wrote: > On Sat, Nov 04, 2017 at 02:47:48AM +0800, 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. >> With removing hardirq.h, around 32 bytes can be saved for x86_64 bzImage >> with allnoconfig. > > Wait, what? How would including an unused header file increase the size > of the final image? Sorry for the wrong message, I double checked again with building kernel a couple of times then comparing the size, there is no change. Will remove this from the commit log. Yang > From 1583143488457993753@xxx Sat Nov 04 13:48:04 +0000 2017 X-GM-THRID: 1583071819350852518 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread