> > Besides, the fair semaphores would potentially slow things down, while > this potentially speeds things up. So.. It looks obvious enough. > Rik, did you check that {pte,pmd}_alloc are thread safe? At least in 2.4.2 they aren't (include/asm-i386/pgalloc.h), and your patch doesn't touch pgalloc. {pte,pmd}_alloc are called from handle_mm_fault, and that function is now running with down_read(). -- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: 3rd version of R/W mmap_sem patch available Linus Torvalds
- Re: 3rd version of R/W mmap_sem patch availab... Marcelo Tosatti
- Re: 3rd version of R/W mmap_sem patch ava... Linus Torvalds
- 2.4.3-pre6 alpha pte/pmd_alloc update Ivan Kokshaysky
- [patch] pae-2.4.3-A4 Ingo Molnar
- Re: [patch] pae-2.4.3-A4 Russell King
- Re: [patch] pae-2.4.3-A4 Linus Torvalds
- Re: [patch] pae-2.4.3-A4 Ingo Molnar
- [PATCH] PAE zap_low_mappings no-op Hugh Dickins
- [PATCH] 2.4.4-pre1 sparc/mm typo Hugh Dickins
- Re: 3rd version of R/W mmap_sem patch available Manfred Spraul
- Re: 3rd version of R/W mmap_sem patch available Linus Torvalds
- Re: 3rd version of R/W mmap_sem patch available Linus Torvalds
- Re: 3rd version of R/W mmap_sem patch availab... Rik van Riel
- Re: 3rd version of R/W mmap_sem patch available Rik van Riel
- Re: 3rd version of R/W mmap_sem patch available Linus Torvalds
- Re: 3rd version of R/W mmap_sem patch available Linus Torvalds