Re: 2.6.19-rc2-mm1

Andrew Morton
2006-10-18T22:24:12Z

On Wed, 18 Oct 2006 22:26:50 +0200
Cedric Le Goater <clg@fr.ibm.com> wrote:

> > Because we must service a fault if it happens here. The
> > fault_in_pages_readable and comments are wrong AFAIKS.
>
> hmm. It says :
>
> /*
> * Bring in the user page that we will copy from _first_.
> * Otherwise there's a nasty deadlock on copying from the
> * same page as we're writing to, without it being marked
> * up-to-date.
> */
>
> How can we improve it ?

The page we're writing into isn't locked, so there's no deadlock afaict.

But then, I forget how xip works. Carsten, is it actually being used for
anything?