Re: [PATCH RFC 11/18] staging: vchiq_arm: use completions instead of semaphores

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

 



> Nicolas Saenz Julienne <nsaenzjulienne@xxxxxxx> hat am 26. Oktober 2018 um 15:48 geschrieben:
> 
> 
> It is preferred in the kernel to avoid using semaphores to wait for
> events, as they are optimised for the opposite situation; where the
> common case is that they are available and may block only occasionally.
> FYI see this thread: https://lkml.org/lkml/2008/4/11/323.
> 
> Also completions are semantically more explicit in this case.
> 

Since patch #11 #12 and #13 doing the same, they could be fold.
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux