On Thu, Oct 29, 2020 at 06:44:48PM +0800, Alex Shi wrote: > The func is only used in huge_memory.c, defining it in other file with a > CONFIG_TRANSPARENT_HUGEPAGE macro restrict just looks weird. > > Let's move it THP. And make it static as Hugh Dickin suggested. > > Signed-off-by: Alex Shi <[email protected]> > Reviewed-by: Kirill A. Shutemov <[email protected]> > Acked-by: Hugh Dickins <[email protected]> > Cc: Andrew Morton <[email protected]> > Cc: Johannes Weiner <[email protected]> > Cc: Matthew Wilcox <[email protected]> > Cc: Hugh Dickins <[email protected]> > Cc: [email protected] > Cc: [email protected]
Acked-by: Johannes Weiner <[email protected]>

