[lkml]   [2018]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 <>

Applied to powerpc next, thanks.


 \ /
  Last update: 2018-08-13 13:24    [W:0.149 / U:2.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site