Skip to content

introduce wait_event_common()

Oleg Nesterov lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wait: introduce wait_event_common(wq, condition, state, timeout)arch/mips/kernel/rtlx.c include/linux/wait.h net/irda/af_irda.c +1 more+81 -1270 replies
2/2wait: introduce prepare_to_wait_event()include/linux/wait.h kernel/wait.c+24 -110 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchTejun Heo
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] introduce wait_event_common()

Hello.

The changes in include/linux/wait.h are the same.

However 1/2 has to update the callers of __wait_event_interruptible(). The fix is very simple:

	-	__wait_event_interruptible(wq, cond, ret);
	+	ret = __wait_event_interruptible(wq, cond);

but obviously untested.

Oleg.

 arch/mips/kernel/rtlx.c         |   17 ++--
 include/linux/wait.h            |  183 +++++++++++++++------------------------
 kernel/wait.c                   |   13 +++
 net/irda/af_irda.c              |    5 +-
 net/netfilter/ipvs/ip_vs_sync.c |    5 +-
 5 files changed, 95 insertions(+), 128 deletions(-)