Re: [PATCH] mm: Downgrade mmap_sem before locking or populating onmmap

From: Al Viro
Date: Sun Dec 16 2012 - 12:47:53 EST


On Sun, Dec 16, 2012 at 05:04:03PM +0000, Al Viro wrote:

> Moreover, I'm not quite convinced that huge_memory.c and ksm.c can't run
> into all kinds of interesting races with ongoing coredump. Looking into
> it...

Specifically, is collapse_huge_page() safe in parallel with ->core_dump()?
It *can* run while we are in the middle of e.g. elf_core_dump().
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/