Re: [PATCH 2/9] mm: remap_file_pages() fixes

2013-01-02 Thread Rik van Riel
On 12/20/2012 07:49 PM, Michel Lespinasse wrote: Assorted small fixes. The first two are quite small: - Move check for vma->vm_private_data && !(vma->vm_flags & VM_NONLINEAR) within existing if (!(vma->vm_flags & VM_NONLINEAR)) block. Purely cosmetic. - In the VM_LOCKED case, when droppin

[PATCH 2/9] mm: remap_file_pages() fixes

2012-12-20 Thread Michel Lespinasse
Assorted small fixes. The first two are quite small: - Move check for vma->vm_private_data && !(vma->vm_flags & VM_NONLINEAR) within existing if (!(vma->vm_flags & VM_NONLINEAR)) block. Purely cosmetic. - In the VM_LOCKED case, when dropping PG_Mlocked for the over-mapped range, make sure w