acl_permission_check: disgusting performance

Linus Torvalds torvalds at linux-foundation.org
Thu May 12 21:16:58 PDT 2011


On Thu, May 12, 2011 at 8:52 PM, Eric W. Biederman
<ebiederm at xmission.com> 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


More information about the Containers mailing list