mm: don't split THP page when syscall is called

We don't need to split THP page when MADV_FREE syscall is called.
It could be done when VM decide to free it in reclaim path when
memory pressure is heavy so we could avoid unnecessary THP split.

Cc: Kirill A. Shutemov <>
Cc: Hugh Dickins <>
Cc: Andrea Arcangeli <>
Signed-off-by: Minchan Kim <>
3 files changed