Re: [PATCH v6] add MAP_UNLOCKED mmap flag

From: Peter Zijlstra
Date: Mon Jan 18 2010 - 10:24:56 EST


On Mon, 2010-01-18 at 17:19 +0200, Avi Kivity wrote:
> > I would not advice that, just mlock() the text and data you need for the
> > real-time thread. mlockall() is a really blunt instrument.
> >
>
> May not be feasible due to libraries.

Esp for the real-time case I could advise not to use those libraries
then, since they're clearly not designed for that use case.

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