Re: [PATCH v6] add MAP_UNLOCKED mmap flag

From: Avi Kivity
Date: Mon Jan 18 2010 - 10:20:20 EST


On 01/18/2010 05:14 PM, 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.

May not be feasible due to libraries.

--
error compiling committee.c: too many arguments to function

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