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

From: zhiguojiang
Date: Tue Jul 09 2024 - 08:34:37 EST




在 2024/7/9 19:49, Matthew Wilcox 写道:
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!
Thank you for pointing out this indentation issue again. It has been modified in patch v7.