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 <alex....@linux.alibaba.com> > Reviewed-by: Kirill A. Shutemov <kirill.shute...@linux.intel.com> > Acked-by: Hugh Dickins <hu...@google.com> > Cc: Andrew Morton <a...@linux-foundation.org> > Cc: Johannes Weiner <han...@cmpxchg.org> > Cc: Matthew Wilcox <wi...@infradead.org> > Cc: Hugh Dickins <hu...@google.com> > Cc: linux-kernel@vger.kernel.org > Cc: linux...@kvack.org
Acked-by: Johannes Weiner <han...@cmpxchg.org>