mempolicy: get rid of duplicated check for vma(VM_PFNMAP) in queue_pages_range()
Subsystems (2)
PATCH 1/1 mempolicy: get rid of duplicated check for vma(VM_PFNMAP) in queue_pages_range()
This check was introduced as part of
6f4576e3687 - mempolicy: apply page table walker on queue_pages_range()
which got duplicated by
48684a65b4e - mm: pagewalk: fix misbehavior of walk_page_range for vma(VM_PFNMAP)
by reintroducing it earlier on queue_page_test_walk()
mm/mempolicy.c +0 -3
@@ -608,9 +608,6 @@ static int queue_pages_test_walk(unsigned long start, unsigned long end, qp->prev = vma; -if (vma->vm_flags &VM_PFNMAP ) -return 1 ; -if (flags &MPOL_MF_LAZY ) {/* Similar to task_numa_work, skip inaccessible VMAs */ if (vma->vm_flags & (VM_READ |VM_EXEC |VM_WRITE ))
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 6 lines · Aristeu Rozanski
This check was introduced as part of
6f4576e3687- mempolicy: apply page table walker onqueue_pages_range()
which got duplicated by
48684a65b4e- mm: pagewalk: fix misbehavior ofwalk_page_rangeforvma(VM_PFNMAP)
by reintroducing it earlier onqueue_page_test_walk()
Quoted 9 lines
Cc Naoya Horiguchi <[email protected]>Cc "Kirill A. Shutemov" <[email protected]>Cc Andrea Arcangeli <[email protected]>Cc Cyrill Gorcunov <[email protected]>Cc Dave Hansen <[email protected]>Cc Kirill A. Shutemov <[email protected]>Cc Pavel Emelyanov <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Signed-off-by Aristeu Rozanski <[email protected]>
Signature · 7 lines
Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 6 lines · Aristeu Rozanski
This check was introduced as part of
6f4576e3687- mempolicy: apply page table walker onqueue_pages_range()
which got duplicated by
48684a65b4e- mm: pagewalk: fix misbehavior ofwalk_page_rangeforvma(VM_PFNMAP)
by reintroducing it earlier onqueue_page_test_walk()
Quoted 9 lines
Cc Naoya Horiguchi <[email protected]>Cc "Kirill A. Shutemov" <[email protected]>Cc Andrea Arcangeli <[email protected]>Cc Cyrill Gorcunov <[email protected]>Cc Dave Hansen <[email protected]>Cc Kirill A. Shutemov <[email protected]>Cc Pavel Emelyanov <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Signed-off-by Aristeu Rozanski <[email protected]>
Thank you!
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 6 lines · Aristeu Rozanski
This check was introduced as part of
6f4576e3687- mempolicy: apply page table walker onqueue_pages_range()
which got duplicated by
48684a65b4e- mm: pagewalk: fix misbehavior ofwalk_page_rangeforvma(VM_PFNMAP)
by reintroducing it earlier onqueue_page_test_walk()
Quoted 9 lines
Cc Naoya Horiguchi <[email protected]>Cc "Kirill A. Shutemov" <[email protected]>Cc Andrea Arcangeli <[email protected]>Cc Cyrill Gorcunov <[email protected]>Cc Dave Hansen <[email protected]>Cc Kirill A. Shutemov <[email protected]>Cc Pavel Emelyanov <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Signed-off-by Aristeu Rozanski <[email protected]>
Thank you for finding and fixing this.
Quoted 6 lines
mm/mempolicy.c +0
-0
mm/mempolicy.c static int queue_pages_test_walk(unsigned long start, unsigned long end, · line 613
Quoted 9 lines
mm/mempolicy.c +0
-3@@ -608,9 +608,6 @@ static int queue_pages_test_walk(unsigned long start, unsigned long end, qp->prev = vma; -if (vma->vm_flags &VM_PFNMAP ) -return 1 ; -if (flags &MPOL_MF_LAZY ) {/* Similar to task_numa_work, skip inaccessible VMAs */ if (vma->vm_flags & (VM_READ |VM_EXEC |VM_WRITE ))
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 6 lines · Aristeu Rozanski
This check was introduced as part of
6f4576e3687- mempolicy: apply page table walker onqueue_pages_range()
which got duplicated by
48684a65b4e- mm: pagewalk: fix misbehavior ofwalk_page_rangeforvma(VM_PFNMAP)
by reintroducing it earlier onqueue_page_test_walk()
Quoted 9 lines
Cc Naoya Horiguchi <[email protected]>Cc "Kirill A. Shutemov" <[email protected]>Cc Andrea Arcangeli <[email protected]>Cc Cyrill Gorcunov <[email protected]>Cc Dave Hansen <[email protected]>Cc Kirill A. Shutemov <[email protected]>Cc Pavel Emelyanov <[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Signed-off-by Aristeu Rozanski <[email protected]>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>