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

Re: sys_exit() and zap_page_range()



"Stephen C. Tweedie" wrote:
> 
> Hi,
> 
> On Sat, Jul 08, 2000 at 12:43:26AM +1000, Andrew Morton wrote:
> >
> > Secondly, and quite unrelatedly, mmap002: why does the machine spend 10
> > seconds pounding the disk during the exit() call?
> 
> msync().

Nope.  Take out the msyncs and it still does it.

But with or without msync(), the file has been closed and unlinked when
mmap002 exits.  Hence all those blocks are unreferenced and free.  There
seems to be no need to write them back.
--
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/