Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755413AbXFDNZh (ORCPT ); Mon, 4 Jun 2007 09:25:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755264AbXFDNZX (ORCPT ); Mon, 4 Jun 2007 09:25:23 -0400 Received: from mail6.sea5.speakeasy.net ([69.17.117.8]:59168 "EHLO mail6.sea5.speakeasy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755197AbXFDNZV (ORCPT ); Mon, 4 Jun 2007 09:25:21 -0400 Date: Mon, 4 Jun 2007 09:25:11 -0400 (EDT) From: James Morris X-X-Sender: jmorris@d.namei To: Ingo Molnar cc: linux-kernel@vger.kernel.org, Andrew Morton , Stephen Smalley , James Carter , Paul Moore , Eric Paris Subject: Re: [bug] very high non-preempt latency in context_struct_compute_av() In-Reply-To: <20070604112745.GA26350@elte.hu> Message-ID: References: <20070604112745.GA26350@elte.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 717 Lines: 25 On Mon, 4 Jun 2007, Ingo Molnar wrote: > > a simple ssh login triggers a ~130 msecs non-preemptible latency even > with CONFIG_PREEMPT enabled, on a fast Core2Duo CPU (!). Thanks for the report. > > the latency is caused by a _very_ long loop in the SELinux code: > > sshd-4828 0.N.. 465894us : avtab_search_node (context_struct_compute_av) What do the 0DNs fields mean and what did you use to create this trace? - James -- James Morris - 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/