mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: James Morris <jmorris@namei.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Stephen Smalley <sds@tycho.nsa.gov>,
	James Carter <jwcart2@tycho.nsa.gov>,
	Paul Moore <paul.moore@hp.com>, Eric Paris <eparis@redhat.com>
Subject: Re: [bug] very high non-preempt latency in context_struct_compute_av()
Date: Mon, 4 Jun 2007 09:25:11 -0400 (EDT)	[thread overview]
Message-ID: <Line.LNX.4.64.0706040924040.11109@d.namei> (raw)
In-Reply-To: <20070604112745.GA26350@elte.hu>

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
<jmorris@namei.org>

  reply	other threads:[~2007-06-04 13:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-04 11:27 Ingo Molnar
2007-06-04 13:25 ` James Morris [this message]
2007-06-04 14:17   ` Ingo Molnar
2007-06-04 21:11 ` Paul Moore
2007-06-04 21:39   ` Stephen Smalley
2007-06-04 22:48     ` Paul Moore
2007-06-04 22:54       ` James Morris
2007-06-07 19:34 ` Stephen Smalley
2007-06-07 19:51   ` Ingo Molnar
2007-06-07 20:11     ` James Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Line.LNX.4.64.0706040924040.11109@d.namei \
    --to=jmorris@namei.org \
    --cc=akpm@linux-foundation.org \
    --cc=eparis@redhat.com \
    --cc=jwcart2@tycho.nsa.gov \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=paul.moore@hp.com \
    --cc=sds@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®