Re: [PATCH 1/4] mm/vmalloc: allow arch-specific vmalloc_node overrides

Maxwell Bland
2024-02-21T17:20:41Z

> On Wednesday, February 21, 2024 12:59 AM, Christophe Leroy wrote:
>
> In the code you add __weak for that. But you also add the flags to the
> parameters and I can't understand why when reading the above description.

This change was made to allow most kernel interfaces use vmalloc_node and
enable the overrides to work. It also reduces the number of kernel locations
which would need to be change if there was ever a change to the
vmalloc_node_range interface.

However, there is a pushback to overriding the vmalloc interface, so this change
will likely not show up in my final patch.

Regards,
Maxwell