Re: [git pull] device mapper changes for 4.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 04, 2018 at 12:29:21PM -0700, Linus Torvalds wrote:
> On Mon, Jun 4, 2018 at 12:09 PM Mike Snitzer <snitzer@xxxxxxxxxx> 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
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux