lkml.org 
[lkml]   [2013]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/6] sched, wait: Make the __wait_event*() interface more friendly

* Peter Zijlstra <peterz@infradead.org> wrote:

> Change all __wait_event*() implementations to match the corresponding
> wait_event*() signature for convenience.
>
> In particular this does away with the weird 'ret' logic. Since there
> are __wait_event*() users this requires we update them too.
>
> Signed-off-by: Peter Zijlstra <peterz@infradead.org>
> ---
> arch/mips/kernel/rtlx.c | 19 +++---
> include/linux/tty.h | 10 +--
> include/linux/wait.h | 113 +++++++++++++++++++---------------------
> net/irda/af_irda.c | 5 -
> net/netfilter/ipvs/ip_vs_sync.c | 7 --
> 5 files changed, 73 insertions(+), 81 deletions(-)

Since now everyone seems to agree about this series, and since this
particular patch changes generated code it would be really nice to split
it into about ten per interface patches:

- __wait_event_interruptible()
- __wait_event_interruptible_timeout()
- __wait_event_interruptible_exclusive()
- __wait_event_interruptible_lock_irq()
- __wait_event_interruptible_tty()
- __wait_event()
- __wait_event_timeout()
- __wait_event_killable()
- __wait_event_interruptible_lock_irq_timeout()

The changes seem to be mostly isolated, they are even in separate patch
hunks most of the time making a splitup relatively easy - with a handful
of semantic interdependencies.

There's very little downside to doing it the split-up way, and there's a
lot of bisection and bug review upside, should any of these changes prove
problematic...

Thanks,

Ingo


\
 
 \ /
  Last update: 2013-10-01 09:01    [W:0.062 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site