Re: [PATCH] mm: remove unused alloc_pages_bulk_list()

From: Christoph Hellwig
Date: Thu Dec 22 2022 - 05:04:12 EST


On Sat, Dec 17, 2022 at 04:56:03AM +0000, Matthew Wilcox wrote:
> On Sat, Dec 17, 2022 at 12:15:54AM +0000, Lorenzo Stoakes wrote:
> > This function is not referenced anywhere else in the kernel, remove it.
>
> I think we're waiting to see if any users show up. It's only been 18
> months or so, so perhaps wait a little longer?

Is that being snarky? :) We generally don't add dead code at all, and
certaintly don't leave it around for a year and a half.

If anyone really needs this we can add it back.

> Also, if we do get rid of this, then __alloc_pages_bulk() can lose
> the "list" argument.

Yepp.