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

Re: sys_exit() and zap_page_range()



Hi,

On Tue, Jul 11, 2000 at 09:24:56PM +1000, Andrew Morton wrote:
> 
> Nope.  Take out the msyncs and it still does it.

Unmapping a writable region results in an implicit msync.  That
includes exit() and munmap().
 
> But with or without msync(), the file has been closed and unlinked when
> mmap002 exits.

Have all mappings been unmapped, though?

--Stephen
--
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.eu.org/Linux-MM/