[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <41ptd34Q5zz9sC7@ozlabs.org>
Date: Mon, 13 Aug 2018 21:23:03 +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: [13/15] tty: hvc: hvc_write may sleep
On Mon, 2018-04-30 at 14:55:56 UTC, Nicholas Piggin wrote:
> Rework the hvc_write loop to drop and re-take the spinlock on each
> iteration, add a cond_resched. Don't bother with an initial hvc_push
> initially, which makes the logic simpler -- just do a hvc_push on
> each time around the loop.
>
> Signed-off-by: Nicholas Piggin <npiggin@...il.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/550ddadcc7580ec2a6c22d4ed04291
cheers
Powered by blists - more mailing lists