Re: [patch] cache flush bug in mm/filemap.c (all kernels >=

Andrew Morton (akpm@digeo.com)
Fri, 23 May 2003 03:04:09 -0700


"David S. Miller" <davem@redhat.com> wrote:
>
> From: Andrew Morton <akpm@digeo.com>
> Date: Fri, 23 May 2003 02:12:04 -0700
>
> install_page() is prefaulting pages into pagetables, so perhaps it should
> have an update_mmu_cache()?
>
> I agree. Someone should take a close look at the do_file_page()
> code paths to make sure that's still kosher after such a change.

What would one be looking for? I don't know what the sideeffects of
update_mmu_cache() might be.

It looks to be the same as do_no_page() though: the update_mmu_cache() is
the last substantive thing which happens in the fault or the syscall.

-
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/