Re: 2.2.19(xx) file unmapping on abort

Alexander Viro (viro@math.psu.edu)
Fri, 22 Mar 2002 15:13:20 -0500 (EST)


On Fri, 22 Mar 2002, Rakesh Tiwari wrote:

>
> I call msync() at various points in the program where data in the pages
> is known to be in good condition. At the abnormal program termination, I
> am not really sure if data in pages is valid or not.....

If you have a shared mapping it can be written to disk at any moment, so
you can't rely on that happening only at the moment of msync().

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/