On Wed, 04 Jul 2007 16:24:38 +0200 Zoltan Menyhart <[EMAIL PROTECTED]> wrote: > Machines star up whit bit 5 = 0, reading instruction pages via > NFS has to flush them from L2I. > In our test, we confirmed that this can be fixed by flushing L2I just before SetPageUptodate() in NFS.
> > I was wondering if instead of modifying do_no_page() and Co., should > not we make nfs_readpage() be DMA-like? > (No possible regression for most of the page I/O-s.) > I.e. it should be the responsibility of a file system to make sure it > supports instruction pages correctly. The base kernel should provide > such file systems with an architecture dependent macro... > IMHO, for example, race in cooy-on-write (was fixed by Tony Luck) has to be fixed by MemoryManagement layer. And only a race in do_no_page() seems to be able to be fixed by FS layer. BTW, can we know whether a page is filled by DMA or not ? Thanks, -Kame - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/