mm: gup: FOLL_MM_SYNC: enable COR on PageKsm

Combined with the enforced invariant that an already GUP pinned
PageAnon cannot be merged as PageKsm, this enforces that FOLL_MM_SYNC
cannot pin any PageKsm.

This removes the need of FOLL_FORCE|FOLL_WRITE for PageKsm.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
2 files changed