diff options
| author | 2018-11-20 15:53:46 +0100 | |
|---|---|---|
| committer | 2018-11-27 10:13:37 +0100 | |
| commit | f27e47bc6b8b96dd34ebad2a659b8a983cf367df (patch) | |
| tree | e971496ef8ad21a0cbe475f212ae66850a157c85 /include | |
| parent | staging: vchiq_core: don't add a wmb() before remote_event_signal() (diff) | |
staging: vchiq: use completions instead of semaphores
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.
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
