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