Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759544Ab1EMQRm (ORCPT ); Fri, 13 May 2011 12:17:42 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:45678 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759483Ab1EMQRl (ORCPT ); Fri, 13 May 2011 12:17:41 -0400 MIME-Version: 1.0 In-Reply-To: <20110513131904.GA2519@mail.hallyn.com> References: <20110513025013.GA13209@mail.hallyn.com> <20110513040214.GA25270@mail.hallyn.com> <20110513131904.GA2519@mail.hallyn.com> From: Linus Torvalds Date: Fri, 13 May 2011 09:16:40 -0700 Message-ID: Subject: Re: acl_permission_check: disgusting performance To: "Serge E. Hallyn" Cc: "Serge E. Hallyn" , "Eric W. Biederman" , Daniel Lezcano , David Howells , James Morris , Andrew Morton , Linux Kernel Mailing List , containers@lists.linux-foundation.org, Al Viro Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 555 Lines: 15 On Fri, May 13, 2011 at 6:19 AM, Serge E. Hallyn wrote: > > Compile-tested with and without CONFIG_USERNS. Looks ok to me. And generates good code for acl_permission_check without CONFIG_USER_NS. I'll see how much that function drops on the kernel profiles.. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/