Received: by 10.223.164.221 with SMTP id h29csp139323wrb; Fri, 3 Nov 2017 11:48:55 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QRCuHMn1lvqKJ38t/uWvjRVtBp7GJrCfwzIeim6xBePDkXJM/S91E6PWtMO95rAykUmMCd X-Received: by 10.99.119.79 with SMTP id s76mr7960313pgc.3.1509734935314; Fri, 03 Nov 2017 11:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509734935; cv=none; d=google.com; s=arc-20160816; b=MzWLe4TpJQytI/pXeWg0RBYX0KOSpZlhK9G/nrdTRWUZECsY6mMnbQsDdZMW+Rtggo X3ymUJODNYjnsKrhZzIcutfpSsEggubk7Y5jLFlPSiM6tWboaPB+NkkB1ZaN2A821Ztn 10Y/InffLYa9btG4kqLLp7sySmV0eoAFFgF9PXzRoYJNeAK/BANY2tVwgPzoxEb1B9ZF kJ7Xv522uyZ8JFBqcvMQLfdM2wUG7esij4u7ANmxcLU7RdKyGqLcSWuoE07laK5zqyTc 69AlhaKoNDdVk7Jb0B3nzeM7dSCeQ823yHsjidSxFsPYCU51LE3cHVpVQexy/jMi/odc GEyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=/me1Xsuk3BIEY4GCRW7VvWQ7f7MGTZmHtK9g9DJsEG4=; b=SHiv4ycOW2SxWrwxCMFujJ8rRPr26QDrNIoXsSI+U8R/gzcWqI6gz6QRYI07gCS/lN dW31SzJ1PGASu6WntfFSKWZhb4qi5aSYqTnJZXCnq3o7To1wZ77z06PFfTF1dCDfaQCG 5P2MK56N4g79QsYIvH+EpE2ez7myTFlopd2a5wMJyS+mReZXlaH4mY09LOgPcO0UZwoD uf0Wz6tmCMgUEYL6ALrPefdhpsY7oXI7F8pjwHg4CJdtECYBHOtn2txL3y0z5AdnmH8w lhYWP2NPFiJTCf8zle2J/yfmASiE7vuYDAMIdjU157OuwlcOosJROATG+2z/lFYzNhSs nLeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alibaba-inc.com header.s=default header.b=XVgL+5aU; 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 g17si4653981plo.542.2017.11.03.11.48.41; Fri, 03 Nov 2017 11:48:55 -0700 (PDT) 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=XVgL+5aU; 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 S1753635AbdKCSsF (ORCPT + 92 others); Fri, 3 Nov 2017 14:48:05 -0400 Received: from out0-212.mail.aliyun.com ([140.205.0.212]:41877 "EHLO out0-212.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751290AbdKCSsE (ORCPT ); Fri, 3 Nov 2017 14:48:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1509734878; h=From:To:Subject:Date:Message-Id; bh=/me1Xsuk3BIEY4GCRW7VvWQ7f7MGTZmHtK9g9DJsEG4=; b=XVgL+5aUFpR6y9XJZu6oXblslKnS7gvqhVGgG6r4Jtq+mhykdiwa/BG8KIyPoS50NSlCi1bNDxCGqXDtIwv+oQwWlCP9KDOcj+Knt5XoPtSfCNWBgllr2niysDsOAw4lTX8JUk9QUieoccJiDFye5iwLINNzeF2G7QISbzlveB0= X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e02c03271;MF=yang.s@alibaba-inc.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---.9JbQed6_1509734868; Received: from e19h19392.et15sqa.tbsite.net(mailfrom:yang.s@alibaba-inc.com ip:106.11.238.109) by smtp.aliyun-inc.com(127.0.0.1); Sat, 04 Nov 2017 02:47:54 +0800 From: "Yang Shi" To: mhocko@kernel.org, akpm@linux-foundation.org Cc: "Yang Shi" , , Subject: [PATCH] mm: filemap: remove include of hardirq.h Date: Sat, 04 Nov 2017 02:47:48 +0800 Message-Id: <1509734868-120762-1-git-send-email-yang.s@alibaba-inc.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Yang Shi --- 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 -- 1.8.3.1 From 1584298122578413259@xxx Fri Nov 17 07:40:29 +0000 2017 X-GM-THRID: 1584298122578413259 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread