Re: [PATCH] new tty buffering locking fix

From: Alan Cox
Date: Tue Feb 07 2006 - 20:11:10 EST


On Maw, 2006-02-07 at 15:27 -0600, Paul Fulghum wrote:
> Olaf:
>
> Try this patch and let me know how it works.
> (it is against 2.6.16-rc2-git1)
>
> This change prevents claiming a partially filled
> buffer if it has already been committed by the
> driver calling a tty scheduling function, but not
> yet processed by the tty layer.

Thats going to hurt memory consumption in the worst cases. Might be
better to document the sane behaviour and enforce it ?

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