Re: [PATCH] mlock-as-user for 2.6.8-rc2-mm2

From: Rik van Riel
Date: Wed Aug 04 2004 - 16:08:48 EST


On Wed, 4 Aug 2004, Chris Wright wrote:

> The default lockable amount is one page now (first patch is was 0).
> Why don't we keep it as 0, with the CAP_IPC_LOCK overrides in place?

My mistake, I went from Arjan's 2.6 submitted version to
the version in Fedora. The 0 limits are probably better
for upstream.

> Incremental update below. Ran some simple sanity tests on this plus my
> patch below and didn't find any problems.

Looks good to me.

Andrew, could you please apply Chris's patch in addition
to mine ?

thanks,

Rik
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

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