From: "Jan Beulich" <jbeulich@novell.com>
To: <mingo@elte.hu>, <akinobu.mita@gmail.com>, <akpm@osdl.org>
Cc: <dwm@meer.net>, <ak@suse.de>, <linux-kernel@vger.kernel.org>
Subject: Re: [patch 0/7] fault-injection capabilities (v5)
Date: Sat, 14 Oct 2006 12:52:20 +0200 [thread overview]
Message-ID: <4530CF770200007800024388@emea5-mh.id5.novell.com> (raw)
>> I don't feel much slowness with STACKTRACE & FRAME_POINTER and
>> enabling stacktrace filter. But with enabling STACK_UNWIND I feel
>> big latency on X. (There are two type of implementation of stacktrace
>> filter in it [1] using STACKTRACE with FRAME_POINTER, and [2] STACK_UNWIND)
>>
>> I don't know why there is quite difference between simple STACKTRACE and
>> STACK_UNWIND. I'm about to try to use rb tree rather than linked list in
>> unwind.
>
>umm, we've hit this before, recently - iirc it was making lockdep run
>really slowly.
>
>The new unwinding code is apparently really inefficient in some situations.
>It wasn't expected that it would be called at a high frequency, except people
>_do_ want to do that.
>
>I forget the details, but I can cc people who have better memory.
The problem is that there's currently nothing to allow a binary search through
the unwind descriptors. The easy path to add these is closed as binutils don't
work here due to two independent limitations. Hence I'm going to add a two-
phase initializations, the second part of which will allocate and initialize a
helper table equivalent to a linker generated .eh_frame_hdr section. I'm not
certain at this point whether we'll need this for modules too.
Jan
next reply other threads:[~2006-10-14 10:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-14 10:52 Jan Beulich [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-10-12 7:43 Akinobu Mita
2006-10-12 21:26 ` Andrew Morton
2006-10-13 17:46 ` Akinobu Mita
2006-10-13 19:00 ` Andrew Morton
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=4530CF770200007800024388@emea5-mh.id5.novell.com \
--to=jbeulich@novell.com \
--cc=ak@suse.de \
--cc=akinobu.mita@gmail.com \
--cc=akpm@osdl.org \
--cc=dwm@meer.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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®