[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e2253597-cb34-409e-9be0-768136ca0942@alibaba-inc.com>
Date: Tue, 07 Nov 2017 00:06:11 +0800
From: "Yang Shi" <yang.s@...baba-inc.com>
To: Matthew Wilcox <willy@...radead.org>
Cc: mhocko@...nel.org, akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: filemap: remove include of hardirq.h
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
>
Powered by blists - more mailing lists