When KSM merges an mlocked page, it has been forgetting to munlock it:Acked-by: Rik van Riel <riel@xxxxxxxxxx>
that's been left to free_page_mlock(), which reports it in /proc/vmstat
as unevictable_pgs_mlockfreed instead of unevictable_pgs_munlocked (and
whinges "Page flag mlocked set for process" in mmotm, whereas mainline
is silently forgiving). Call munlock_vma_page() to fix that.
Signed-off-by: Hugh Dickins<hugh.dickins@xxxxxxxxxxxxx>