[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTin-7HXdbDXaCBmJAncpOauowAB6Bg@mail.gmail.com>
Date: Thu, 12 May 2011 21:16:58 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: "Serge E. Hallyn" <serge@...lyn.com>,
"Serge E. Hallyn" <serge.hallyn@...onical.com>,
Daniel Lezcano <daniel.lezcano@...e.fr>,
David Howells <dhowells@...hat.com>,
James Morris <jmorris@...ei.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
containers@...ts.linux-foundation.org,
Al Viro <viro@...iv.linux.org.uk>
Subject: Re: acl_permission_check: disgusting performance
On Thu, May 12, 2011 at 8:52 PM, Eric W. Biederman
<ebiederm@...ssion.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists