Re: tty latency and RT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018-07-13 10:33:54 [+0200], Esben Haabendal wrote:
> But is the lock ordering in tty_buffer_flush() really needed?
> Could we move the
> 
> 	if (ld && ld->ops->flush_buffer)
> 		ld->ops->flush_buffer(tty);
> 
> lines out of the &buf->lock section?  I don't think that any code
> outside of tty_buffer.c should touch the port->buf code, and thus should
> not need to hold the &buf->lock.

You could try this out and see what happens. If you attempt to change
the locking then I suggest you involve upstream. I haven't looked too
closely into it. I remember Peter wasn't too happy about the locking
while the "low latency" shortcut was in and then he removed it.

> /Esben

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux