Re: [PATCH v6] add MAP_UNLOCKED mmap flag

From: Gleb Natapov
Date: Mon Jan 18 2010 - 12:12:50 EST


On Mon, Jan 18, 2010 at 04:14:43PM +0100, Peter Zijlstra wrote:
> On Mon, 2010-01-18 at 17:11 +0200, Avi Kivity wrote:
> > On 01/18/2010 05:06 PM, Peter Zijlstra wrote:
> > > On Mon, 2010-01-18 at 17:01 +0200, Gleb Natapov wrote:
> > >
> > >> There are valid uses for mlockall()
> > >>
> > > That's debatable.
> > >
> > >
> >
> > Real-time?
>
> I would not advice that, just mlock() the text and data you need for the
> real-time thread. mlockall() is a really blunt instrument.
>
Yes it is blunt, but the patch makes it less so.

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