7/8

mm: move anon-exclusive batch helper to internal.h

In preparation for optimizing large folio unmapping, we need to reuse the page_anon_exclusive_batch helper in rmap.c. Therefore, move it from mprotect.c to internal.h. Signed-off-by: Dev Jain <dev.ja