From: Will Deacon <will.deacon@arm.com>
To: Jan Kara <jack@suse.cz>
Cc: "mm-commits@vger.kernel.org" <mm-commits@vger.kernel.org>,
"peterz@infradead.org" <peterz@infradead.org>,
"kay@vrfy.org" <kay@vrfy.org>,
LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: + printk-print-initial-logbuf-contents-before-re-enabling-interrupts.patch added to -mm tree
Date: Wed, 7 May 2014 10:46:23 +0100 [thread overview]
Message-ID: <20140507094623.GB18456@arm.com> (raw)
In-Reply-To: <20140506200022.GB27469@quack.suse.cz>
On Tue, May 06, 2014 at 09:00:22PM +0100, Jan Kara wrote:
> On Tue 06-05-14 16:00:37, Will Deacon wrote:
> > On Tue, May 06, 2014 at 03:00:32PM +0100, Jan Kara wrote:
> > > On Tue 06-05-14 14:12:34, Will Deacon wrote:
> > > > Right, so there's the usual compromise here between throughput and latency.
> > > I'd see that compromise if enabling & disabling interrupts would be
> > > taking considerable amount of time. I don't think that was your concern,
> > > was it? Maybe I just misunderstood you...
> >
> > Well, that isn't the quickest operation on ARM (since it's
> > self-synchronising), but I was actually referring to the ability to drain
> > the log buffer (with interrupts disabled) vs the ability to service
> > interrupts quickly. The moment we re-enable interrupts, we can start adding
> > more messages to the buffer from the IRQ path (I didn't attempt to solve the
> > multi-CPU case, as I mentioned before).
> I see. But practically the multi-CPU case is much more common than the
> IRQ case, isn't it?
I think they're both pretty niche, but still valid scenarios.
> > > Sure. I have a patch which transitions printing to another CPU once in a
> > > while so single CPU isn't hogged for too long and that solves the issues I
> > > have observed. But Alan didn't like this solution so the issue is unfixed
> > > for now.
> >
> > Interesting. Do you have a pointer to the thread?
> The patchset posting starts here:
> https://lkml.org/lkml/2014/3/25/343
>
> Patch 5/8 is probably the most interesting for you (patches 1-4 are
> already in the mm tree).
Yikes, that's certainly more invasive than anything I had in mind!
Will
next prev parent reply other threads:[~2014-05-07 9:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <53640c8c.5++0zeO0pmfqKMwm%akpm@linux-foundation.org>
2014-05-02 22:46 ` + printk-print-initial-logbuf-contents-before-re-enabling-interrupts.patch added to -mm tree Jan Kara
2014-05-06 12:06 ` Will Deacon
2014-05-06 12:29 ` Jan Kara
2014-05-06 13:12 ` Will Deacon
2014-05-06 13:50 ` Peter Zijlstra
2014-05-06 14:00 ` Jan Kara
2014-05-06 15:00 ` Will Deacon
2014-05-06 20:00 ` Jan Kara
2014-05-07 9:46 ` Will Deacon [this message]
2014-05-06 22:05 ` Andrew Morton
2014-05-07 9:58 ` Will Deacon
2014-05-07 16:41 ` One Thousand Gnomes
2014-05-08 14:34 ` Will Deacon
2014-05-12 17:15 ` Jan Kara
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=20140507094623.GB18456@arm.com \
--to=will.deacon@arm.com \
--cc=akpm@linux-foundation.org \
--cc=jack@suse.cz \
--cc=kay@vrfy.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=peterz@infradead.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