Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm, hwpoison: avoid unneeded page_mapped_in_vma() overhead in collect…
…_procs_anon() If vma->vm_mm != t->mm, there's no need to call page_mapped_in_vma() as add_to_kill() won't be called in this case. Move up the mm check to avoid possible unneeded calling to page_mapped_in_vma(). Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Acked-by: Naoya Horiguchi <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
- Loading branch information