Re: acl_permission_check: disgusting performance

From: Linus Torvalds
Date: Fri May 13 2011 - 00:17:55 EST


On Thu, May 12, 2011 at 8:52 PM, Eric W. Biederman
<ebiederm@xxxxxxxxxxxx> wrote:
>
> In any event an inline version of current_user_ns that returns
> init_user_ns in the case where user namespaces aren't compiled in should
> fix the immediate performance problems by allowing the compiler to
> optimize them out.

Yes. However, then Serge's patch in the next email immediately breaks
that optimization ;^(

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