Re: Nick's core remove PageReserved broke vmware...

From: Gleb Natapov
Date: Thu Nov 10 2005 - 08:17:08 EST


On Thu, Nov 10, 2005 at 03:16:30PM +0200, Michael S. Tsirkin wrote:
> Quoting Gleb Natapov <gleb@xxxxxxxxxxxxx>:
> > Subject: Re: Nick's core remove PageReserved broke vmware...
> >
> > On Thu, Nov 10, 2005 at 02:48:53PM +0200, Michael S. Tsirkin wrote:
> > > > Also perhapse we should skip VM_SHARED VMAs?
> > >
> > > Why?
> > >
> > They will work correctly across fork().
>
> So why would I call madvise on such a VMA?
>
Because libraries such as MPI can't figure out if memory is shared or not.
And madvise is just advise, so if kernel knows better it may ignore that
advise.

--
Gleb.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/