Re: [PATCH v2] mm: Downgrade mmap_sem before locking or populating on mmap
From: Ingo Molnar <mingo@kernel.org>
Date: 2012-12-17 09:52:38
Also in:
lkml
From: Ingo Molnar <mingo@kernel.org>
Date: 2012-12-17 09:52:38
Also in:
lkml
* Andy Lutomirski [off-list ref] wrote:
quoted
2) More aggressively, we could just make it the _rule_ that the mm lock gets downgraded to read in mmap_region_helper(), no matter what. From a quick look I *think* all the usage sites (including sys_aio_setup()) are fine with that unlocking - but I could be wrong.They are.
Lets try that then - the ugliness of the current patch is certainly a problem. Thanks, Ingo -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>