Re: [PATCH] nonlinear oddities

Dave McCracken (dmccr@us.ibm.com)
Thu, 06 Mar 2003 13:38:07 -0600


--On Thursday, March 06, 2003 19:14:47 +0000 Hugh Dickins
<hugh@veritas.com> 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.

Dave McCracken

======================================================================
Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059
dmccr@us.ibm.com T/L 678-3059

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