Re: [PATCH v6] add MAP_UNLOCKED mmap flag

From: Peter Zijlstra
Date: Mon Jan 18 2010 - 10:15:12 EST


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.



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