From: john stultz <johnstul@us.ibm.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: LKML <linux-kernel@vger.kernel.org>,
Alexander Gordeev <lasaine@lvk.cs.msu.su>,
Rodolfo Giometti <giometti@linux.it>,
Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>
Subject: Re: [PATCH] pps: Make pps_gen_parport depend on BROKEN
Date: Fri, 18 Feb 2011 13:34:41 -0800 [thread overview]
Message-ID: <1298064881.2431.3.camel@work-vm> (raw)
In-Reply-To: <alpine.LFD.2.00.1102182214190.2701@localhost6.localdomain6>
On Fri, 2011-02-18 at 22:16 +0100, Thomas Gleixner wrote:
> This driver causes hard lockups, when the active clock soure is
> jiffies. The reason is that it loops with interrupts disabled waiting
> for a timestamp to be reached by polling getnstimeofday(). Though with
> a jiffies clocksource, when that code runs on the same CPU which is
> responsible for updating jiffies, then we loop in circles for ever
> simply because the timer interrupt cannot update jiffies. So both UP
> and SMP can be affected.
Yuck.
Alexander, Rodolfo: Instead of polling on gtod, could you take a
timestamp, calculate the delay and then use udelay()?
thanks
-john
next prev parent reply other threads:[~2011-02-18 21:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 21:16 [PATCH] pps: Make pps_gen_parport depend on BROKEN Thomas Gleixner
2011-02-18 21:34 ` john stultz [this message]
2011-02-22 16:20 ` Alexander Gordeev
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=1298064881.2431.3.camel@work-vm \
--to=johnstul@us.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=giometti@linux.it \
--cc=lasaine@lvk.cs.msu.su \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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.