[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHUa44GtqJhvX7jUvKWu08J+A2EWqewzosMsez3mwGZ9gA21Uw@mail.gmail.com>
Date: Mon, 25 Jan 2021 10:57:52 +0100
From: Jens Wiklander <jens.wiklander@...aro.org>
To: Rouven Czerwinski <r.czerwinski@...gutronix.de>,
Sumit Garg <sumit.garg@...aro.org>
Cc: Arnd Bergmann <arnd@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
op-tee@...ts.trustedfirmware.org
Subject: Re: [PATCH] tee: optee: remove need_resched() before cond_resched()
Hi Rouven and Sumit,
On Mon, Jan 25, 2021 at 10:55 AM Jens Wiklander
<jens.wiklander@...aro.org> wrote:
>
> Testing need_resched() before cond_resched() is not needed as an
> equivalent test is done internally in cond_resched(). So drop the
> need_resched() test.
>
> Fixes: dcb3b06d9c34 ("tee: optee: replace might_sleep with cond_resched")
> Signed-off-by: Jens Wiklander <jens.wiklander@...aro.org>
> ---
> drivers/tee/optee/call.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Can you please test to see that this works in your setups too?
Thanks,
Jens
Powered by blists - more mailing lists