Re: [Bugme-new] [Bug 14163] New: Data loss in CDC-ACM reception

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

 



Am Montag, 14. September 2009 00:59:40 schrieb Andrew Morton:

> > Checking git I found out that the older kernel hade the line
> > tty->low_latency = 1;
> > in cdc-acm.c
> >
> > After reintroducing that line into the driver it worked without errors
> > agian.
>
> I'll mark this as a regression.
>
> Can we just set ->low_latency again?  What are the implications of that?

/**
 *	tty_flip_buffer_push	-	terminal
 *	@tty: tty to push
 *
 *	Queue a push of the terminal flip buffers to the line discipline. This
 *	function must not be called from IRQ context if tty->low_latency is set.

Apparently we cannot. Possibly throtteling has to set in earlier.
Increasing the buffer's size wouldn't work either, as we'd hit kmalloc's limit.

	Regards
		Oliver

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux