Re: [PATCH v6] mm: shrink skip folio mapped by an exiting process

From: Matthew Wilcox
Date: Tue Jul 09 2024 - 07:49:27 EST


On Tue, Jul 09, 2024 at 12:10:50PM +0800, Zhiguo Jiang wrote:
> + if ((!atomic_read(&vma->vm_mm->mm_users) ||
> + check_stable_address_space(vma->vm_mm)) &&
> + folio_test_swapbacked(folio) &&
> + !folio_likely_mapped_shared(folio)) {
> + pra->referenced = -1;
> + page_vma_mapped_walk_done(&pvmw);
> + return false;
> + }

You told me you'd fix the indentation. You cannot indent both the
continuation lines of the condition and the body of the if by one tab
each!