From: "Gerhard Kurz" <gerhard.kurz@gmx.at>
To: linux-kernel@vger.kernel.org
Subject: Fwd: Re: WCHAN wrong for i386-kernel
Date: Sun, 01 Apr 2007 21:28:41 +0200 [thread overview]
Message-ID: <op.tp4dp3ltckuthk@i386.10base2.at> (raw)
In-Reply-To: <20070401183049.GA27614@elte.hu>
------- Forwarded message -------
From: "Ingo Molnar" <mingo@elte.hu>
To: "Gerhard Kurz" <gerhard.kurz@gmx.at>
Cc:
Subject: Re: WCHAN wrong for i386-kernel
Date: Sun, 01 Apr 2007 20:30:49 +0200
* Gerhard Kurz <gerhard.kurz@gmx.at> wrote:
> Hi,
>
> There is a minor bug in kernels for i386 (i found it in 2.6.14.2, but
> looking at the source code of 2.6.20, it should be there also).
>
> Symptom: For a task that sleeps e.g. in sys_nanosleep, the wchan value
> from get_wchan (in arch/i386/kernel/process.c) is wrong.
>
> Reason: To get the correct wchan value, all __sched functions must
> have a framepointer. Currently only the functions in kernel/sched.c
> are compiled with -fno-omit-frame-pointer. (see kernel/Makefile)
>
> But sys_nanosleep calls schedule_timeout_interruptible (in
> kernel/timer.c), which doesn't have a framepointer.
ah, indeed - nice find!
could you please report this to lkml too? It should be fixed, and by
sending it to lkml we make it sure that someone picks it up eventually,
if i dont get around fixing it in time.
Ingo
parent reply other threads:[~2007-04-01 19:28 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20070401183049.GA27614@elte.hu>]
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=op.tp4dp3ltckuthk@i386.10base2.at \
--to=gerhard.kurz@gmx.at \
--cc=linux-kernel@vger.kernel.org \
/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