[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPcyv4iQ8qfyhungkhdDKqmOUrd0e3XtExxC_2yz+zX8ncBsrA@mail.gmail.com>
Date: Tue, 9 Mar 2021 12:47:00 -0800
From: Dan Williams <dan.j.williams@...el.com>
To: "Matthew Wilcox (Oracle)" <willy@...radead.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linux MM <linux-mm@...ck.org>, linux-block@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-bcache@...r.kernel.org,
linux-nvdimm <linux-nvdimm@...ts.01.org>,
linux-scsi <linux-scsi@...r.kernel.org>
Subject: Re: [PATCH v2] include: Remove pagemap.h from blkdev.h
On Tue, Mar 9, 2021 at 11:59 AM Matthew Wilcox (Oracle)
<willy@...radead.org> wrote:
>
> My UEK-derived config has 1030 files depending on pagemap.h before
> this change. Afterwards, just 326 files need to be rebuilt when I
> touch pagemap.h. I think blkdev.h is probably included too widely,
> but untangling that dependency is harder and this solves my problem.
> x86 allmodconfig builds, but there may be implicit include problems
> on other architectures.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@...radead.org>
> ---
> v2: Fix CONFIG_SWAP=n implicit use of pagemap.h by swap.h. Increases
> the number of files from 240, but that's still a big win -- 68%
> reduction instead of 77%.
>
[..]
> drivers/nvdimm/btt.c | 1 +
> drivers/nvdimm/pmem.c | 1 +
For the nvdimm bits:
Acked-by: Dan Williams <dan.j.williams@...el.com>
Powered by blists - more mailing lists