linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] media: Use complete() instead complete_all()
@ 2016-09-16 11:18 Daniel Wagner
  2016-09-16 11:18 ` [PATCH 1/2] [media] imon: use complete() instead of complete_all() Daniel Wagner
  2016-09-16 11:18 ` [PATCH 2/2] [media] lirc_imon: use complete() instead complete_all() Daniel Wagner
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Wagner @ 2016-09-16 11:18 UTC (permalink / raw)
  To: linux-media
  Cc: Greg Kroah-Hartman, Jarod Wilson, Mauro Carvalho Chehab,
	linux-kernel, Daniel Wagner

From: Daniel Wagner <daniel.wagner@bmw-carit.de>

Hi,

Using complete_all() is not wrong per se but it suggest that there
might be more than one waiter. For -rt I am reviewing all
complete_all() users and would like to leave only the real ones in the
tree. The main problem for -rt about complete_all() is that it can be
uses inside IRQ context and that can lead to unbounded amount work
inside the interrupt handler. That is a no no for -rt.

cheers,
daniel

Daniel Wagner (2):
  [media] imon: use complete() instead of complete_all()
  [media] lirc_imon: use complete() instead complete_all()

 drivers/media/rc/imon.c                | 6 ++++--
 drivers/staging/media/lirc/lirc_imon.c | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-16 11:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-16 11:18 [PATCH 0/2] media: Use complete() instead complete_all() Daniel Wagner
2016-09-16 11:18 ` [PATCH 1/2] [media] imon: use complete() instead of complete_all() Daniel Wagner
2016-09-16 11:18 ` [PATCH 2/2] [media] lirc_imon: use complete() instead complete_all() Daniel Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).