Re: [bug] very high non-preempt latency in context_struct_compute_av()

From: James Morris
Date: Mon Jun 04 2007 - 09:25:38 EST


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@xxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/