From: Ingo Molnar <mingo@elte.hu>
To: Daniel Walker <dwalker@mvista.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: real time hang w/ latency tracing
Date: Wed, 4 Apr 2007 10:51:33 +0200 [thread overview]
Message-ID: <20070404085133.GC2521@elte.hu> (raw)
In-Reply-To: <1175650887.3722.2.camel@dwalker1>
* Daniel Walker <dwalker@mvista.com> wrote:
> Index: linux-2.6.20/include/linux/serial_core.h
> ===================================================================
> --- linux-2.6.20.orig/include/linux/serial_core.h
> +++ linux-2.6.20/include/linux/serial_core.h
> @@ -213,7 +213,11 @@ struct uart_icount {
> typedef unsigned int __bitwise__ upf_t;
>
> struct uart_port {
> +#ifdef CONFIG_LATENCY_TIMING
> + raw_spinlock_t lock; /* port lock */
> +#else
> spinlock_t lock; /* port lock */
> +#endif
ugh - this will only cause other problems if anyone else is trying to
use the serial code. This needs a cleaner fix - such as not doing that
printk from atomic context.
Ingo
next prev parent reply other threads:[~2007-04-04 8:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-03 18:57 real time hang w/ latency tracing Daniel Walker
2007-04-04 1:41 ` Daniel Walker
2007-04-04 8:51 ` Ingo Molnar [this message]
2007-04-04 15:36 ` Daniel Walker
2007-04-04 15:42 ` Ingo Molnar
2007-04-04 15:57 ` Daniel Walker
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=20070404085133.GC2521@elte.hu \
--to=mingo@elte.hu \
--cc=dwalker@mvista.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.