All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Rowand <frank.rowand@am.sony.com>
To: Jacky Lam <lamshuyin@gmail.com>
Cc: Stanislav Meduna <stano@meduna.org>,
	"linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: Re: Protection of critical section in PREEMPT_RT
Date: Thu, 31 Jan 2013 11:52:39 -0800	[thread overview]
Message-ID: <510ACB87.3080007@am.sony.com> (raw)
In-Reply-To: <CAHX1yNTKw8vr2v01Eft1tVV5YrP-7Zw=3fk9iF6YJYfbnBJ9LQ@mail.gmail.com>

On 01/31/13 01:27, Jacky Lam wrote:
> Thanks Stano,
> 
> I am still debugging this driver. But I find very strange that
> sometimes printk() in interrupt handler do not output anything. This
> makes me very difficult to debug. Is it RT patch's expected behaviour?
> Or I am doing something wrong??

If CONFIG_PREEMPT_RT_FULL then printk() from irq context will be buffered
but the console driver will not be called to flush the buffer.  The
next printk() outside irq context will flush the buffer.

-Frank


  reply	other threads:[~2013-01-31 19:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-22  3:29 Protection of critical section in PREEMPT_RT Jacky Lam
2013-01-22 10:24 ` Stanislav Meduna
2013-01-31  9:27   ` Jacky Lam
2013-01-31 19:52     ` Frank Rowand [this message]
2013-02-04  7:27       ` Jacky Lam
2013-02-04 10:40         ` Thomas Gleixner
2013-02-05  1:40           ` Jacky Lam
2013-02-05 10:05             ` Thomas Gleixner
2013-02-06  1:59               ` Jacky Lam
2013-02-06  8:56                 ` Stanislav Meduna
2013-02-13 11:31                 ` Thomas Gleixner

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=510ACB87.3080007@am.sony.com \
    --to=frank.rowand@am.sony.com \
    --cc=lamshuyin@gmail.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=stano@meduna.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.