[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <41ptd06Yfbz9sCX@ozlabs.org>
Date: Mon, 13 Aug 2018 21:23:00 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Nicholas Piggin <npiggin@...il.com>, linuxppc-dev@...ts.ozlabs.org
Cc: Jiri Slaby <jslaby@...e.com>, linux-kernel@...r.kernel.org,
Nicholas Piggin <npiggin@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [11/15] tty: hvc: hvc_poll break hv read loop
On Mon, 2018-04-30 at 14:55:54 UTC, Nicholas Piggin wrote:
> Avoid looping with the spinlock held while there is read data
> being returned from the hv driver. Instead note if the entire
> size returned by tty_buffer_request_room was read, and request
> another read poll.
>
> This limits the critical section lengths, and provides more
> even service to other consoles in case there is a pathological
> condition.
>
> Signed-off-by: Nicholas Piggin <npiggin@...il.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/ec97eaad1383ab2500fcf9a07ade60
cheers
Powered by blists - more mailing lists