[PATCH 0/1] mm: vma_merge: fix vm_page_prot SMP race condition against rmap_walk v2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This version 2 supersedes the 2/2 patch I previously sent in this
thread, and restricts the fix to case 8 as all other vma_merge cases
were already correct as Hugh pointed out, and the testcase of course
reproduced only case 8.

I verified that this fixes the race condition with the testcase as
good as the v1 patch did.

The code is the same I sent yesterday inline in the reply, but this
further improves a few comments and it's a more proper submit.

Andrea Arcangeli (1):
  mm: vma_merge: fix vm_page_prot SMP race condition against rmap_walk

 mm/mmap.c | 40 +++++++++++++++++++++++++++++++++++++---
 1 file changed, 37 insertions(+), 3 deletions(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]