Re: [PATCH] nonlinear oddities

From: Hugh Dickins (hugh@veritas.com)
Date: Mon Mar 10 2003 - 07:07:43 EST


On Sat, 8 Mar 2003, Ed Tomlinson wrote:
> Dave McCracken wrote:
> > --On Thursday, March 06 2003, Hugh Dickins wrote:
> >
> >> Now I think about it more, install_page's SetPageAnon is not good at all.
> >> That (unlocked) page may already be mapped into other vmas as a shared
> >> file page, non-zero mapcount, we can't suddenly switch it to Anon
> >> (pte_chained) without doing the work to handle that case.
> >
> > Ouch. You're right. I'll go stare at it for awhile and see if any
> > solutions jump out at me. I suppose at worst I could write a function to
> > convert an object page to use pte_chains, but it'd be nice if that weren't
> > necessary.
>
> Does this look like the above happening?

I very much doubt it. You'd have to be running an application using Ingo's
new (since 2.5.46) remap_file_pages system call to suffer from Dave's ouch
e.g. something like an experimental version of a major database app. That
said, I've given no thought to what that ouch might look like in practice.

Hugh

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



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:21 EST