On Mon, Jun 04, 2018 at 12:29:21PM -0700, Linus Torvalds wrote:
> On Mon, Jun 4, 2018 at 12:09 PM Mike Snitzer <[email protected]> wrote:
> >
> > Mikulas elected to use swait because of the very low latency nature of
> > layering ontop of persistent memory.  Use of "simple waitqueues"
> > _seemed_ logical to me.
> 
> I know. It's actually the main reason I have an almost irrational
> hatred of those interfaces. They _look_ so simple and obvious, and
> they are very tempting to use. And then they have that very subtle
> issue that the default wakeup is exclusive.

Would it help if we did s/swake_up/swake_up_one/g ?

Then there would not be an swake_up() to cause confusion.

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to