Re: [RFC][PATCH] sched/wait_bit: Introduce wait_var_event()/wake_up_var()

From: David Howells
Date: Thu Mar 15 2018 - 05:58:55 EST


Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> > > Argh, no no no.. That whole wait_for_atomic_t thing is a giant
> > > trainwreck already and now you're making it worse still.

Your patch description needs to say why this isn't a trainwreck when you
consider wait_for_atomic_t() to be one since it does things in a very similar
way.

David