Re: [PATCH 0/5] mm: Pass pointers to page accessors

Linus Walleij
2022-07-03T13:28:46Z

On Sat, Jul 2, 2022 at 1:00 AM Andrew Morton <akpm@linux-foundation.org> wrote:

> It would be nice if someone were to teach x86 and others to use static
> inlines. Get rid of those stupid macros and improve coverage for your
> changes.

I share your view on this.

I have patches for that, for virt_to_pfn() at least on all archs except
one.

Since it seems the MM maintainer likes the idea I will talk to Arnd
to have this merged and also possibly look at some more of these
macros.

Yours,
Linus Walleij