Re: [PATCH v3 02/15] mm: Make alloc_pages_mpol() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25 Nov 2024, at 16:01, Matthew Wilcox (Oracle) wrote:

> All callers outside mempolicy.c now use folio_alloc_mpol() thanks to
> Kefeng's cleanups, so we can remove this as a visible symbol.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> ---
>  include/linux/gfp.h | 8 --------
>  mm/mempolicy.c      | 8 ++++----
>  2 files changed, 4 insertions(+), 12 deletions(-)
>

And also remove the alloc_hooks for alloc_pages_mpol(), since
all users in mempolicy.c are using the nonprof version.

Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>

--
Best Regards,
Yan, Zi




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux