Re: [PATCH 2.2.10] Re: Problem with memmap file with SMP

Stephen C. Tweedie (sct@redhat.com)
Mon, 19 Jul 1999 14:04:02 +0100 (BST)


Hi,

On Sun, 18 Jul 1999 01:32:53 +0100 (BST), Alan Cox
<alan@lxorguk.ukuu.org.uk> said:

>> It's a singularly ugly fix, regardless. I would never let code like that
>> near any of my kernels, but Alan is the one who gets to decide in the
>> stable tree.

> Since 2.2 is going to be around for quite a while yet it wants doing right,
> painful or otherwise, tested in 2.3.x first if need be. We have several
> painful fixes to do (atomic page cache update for another).

The list of places using writes to page cachable files from KERNEL_DS
includes:

dump
loopback device on sparse files
write_dquot
nfsd_write
do_acct_process
sendfile
do_write_page (the one which started this whole thread).

Out of all of these, nfsd_write() is the one which kills the idea of
just testing the current fs. The eventual fix won't be possible to test
in 2.3, however --- the massive cleanups in the entire write
architecture in 2.3 mean that this entire class of cache coherency
problem simply doesn't exist any more.

--Stephen

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