All of
 help / color / mirror / Atom feed
From: John Garry <>
To: Thomas Gleixner <>
Cc: "" <>,
	"Marc Zyngier" <>,
	Peter Zijlstra <>,
	Juri Lelli <>,
	Vincent Guittot <>,
	Dietmar Eggemann <>,
	Steven Rostedt <>,
	Ben Segall <>, Mel Gorman <>,
	Daniel Bristot de Oliveira <>,
	"Ingo Molnar" <>
Subject: Re: Question on threaded handlers for managed interrupts
Date: Fri, 23 Apr 2021 16:00:47 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Hi Thomas,

On 23/04/2021 14:01, Thomas Gleixner wrote:
> On Fri, Apr 23 2021 at 12:50, Thomas Gleixner wrote:
>> On Thu, Apr 22 2021 at 17:10, John Garry wrote:
>> OTOH, the way how you splitted the handling into hard/thread context
>> provides already the base for this.
>> The missing piece is infrastructure at the irq/scheduler core level to
>> handle this transparently.
>> I have some horrible ideas how to solve that, but I'm sure the scheduler
>> wizards can come up with a reasonable and generic solution.
> So one thing I forgot to ask is:
> Is the thread simply stuck in the while() loop forever or is
> this just an endless hardirq/thread/hardirq/thread stream?

The thread will process all available completions and then return. I 
added some debug there, and at most we handle maybe max 150-300 
completions per thread run.

So I figure that we have the endless hardirq/thread/hardirq/thread stream.


  reply	other threads:[~2021-04-23 15:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22 16:10 Question on threaded handlers for managed interrupts John Garry
2021-04-23 10:50 ` Thomas Gleixner
2021-04-23 12:02   ` John Garry
2021-04-23 13:01   ` Thomas Gleixner
2021-04-23 15:00     ` John Garry [this message]
2021-05-21 12:46     ` John Garry

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \ \

* 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.