[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <646164838.4217.1540760410870@email.ionos.de>
Date: Sun, 28 Oct 2018 22:00:10 +0100 (CET)
From: Stefan Wahren <stefan.wahren@...e.com>
To: Nicolas Saenz Julienne <nsaenzjulienne@...e.de>, eric@...olt.net,
dave.stevenson@...pberrypi.org
Cc: linux-rpi-kernel@...ts.infradead.org, gregkh@...uxfoundation.org,
linux-arm-kernel@...ts.infradead.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH RFC 11/18] staging: vchiq_arm: use completions instead
of semaphores
> Nicolas Saenz Julienne <nsaenzjulienne@...e.de> 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.
Powered by blists - more mailing lists