Re: [PATCH] Re: [RFC PATCH] namespaces: fix leak on fork() failure

From: Mike Galbraith
Date: Fri May 04 2012 - 05:45:19 EST


On Fri, 2012-05-04 at 00:55 -0700, Eric W. Biederman wrote:

> CLONE_NEWUSER? I presume you have applied my latest user namespace
> patches? Otherwise you are running completely half baked code.

I Removed CLONE_NEWUSER flag.

> hackbench? Which kernel are you running. Hackbench in some kernels is
> really good at triggering cache ping-pong effects with pids, and creds.

Not when pinned. 3.0 kernel without the debug stuff enabled in 3.4.git.

marge:/usr/local/tmp/starvation # taskset -c 3 ./hackbench
Running with 10*40 (== 400) tasks.
Time: 0.868
marge:/usr/local/tmp/starvation # taskset -c 3 ./hackbench -namespace
Running with 10*40 (== 400) tasks.
Time: 7.582
marge:/usr/local/tmp/starvation # taskset -c 3 ./hackbench -namespace -all
Running with 10*40 (== 400) tasks.
Time: 29.677

-Mike

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