public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Daniel Wagner <wagi@monom.org>
Cc: linux-rt-users@vger.kernel.org,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>, Christoph Hellwig <hch@lst.de>,
	Thomas Gleixner <tglx@linutronix.de>,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Nicholas Mc Guire <der.herr@hofr.at>
Subject: Re: Implement complete_all() with swait
Date: Fri, 28 Oct 2016 09:37:09 -0400	[thread overview]
Message-ID: <20161028093709.2e931e34@gandalf.local.home> (raw)
In-Reply-To: <8d1cf9fc-4f09-7185-1cc6-a681262a20f2@monom.org>

On Fri, 28 Oct 2016 09:17:04 +0200
Daniel Wagner <wagi@monom.org> wrote:

> 
> So I went through the list of users and tried to identify which of them 
> is going to make troubles. I found 4 users which are using 
> complete_all() while IRQs are disabled. The rest looks like it just 
> would work nice. I already fixed up a bunch of drivers which use 
> complete_all() just to make really sure the single waiter is woken up. 
> This list does only contain proper complete_all() users.
> 

I wonder if we can just create a separate thread or workqueue that
performs the complete all, and have the callers of complete_all() that
are currently under irqs disabled simply wake up the thread/workqueue
to perform the complete_all() with interrupts enabled?

-- Steve

      reply	other threads:[~2016-10-28 13:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-28  7:17 Implement complete_all() with swait Daniel Wagner
2016-10-28 13:37 ` Steven Rostedt [this message]

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=20161028093709.2e931e34@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=bigeasy@linutronix.de \
    --cc=der.herr@hofr.at \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=wagi@monom.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