diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-12-09 14:23:52 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-09 19:09:24 (GMT) |
commit | acc0f67f307f52f7aec1cffdc40a786c15dd21d9 (patch) | |
tree | 30fe7356b60d42814b63c3de8ab00ac2bf9ed05d /drivers/sbus | |
parent | 9bbc3dca9d2212f900396ab9642c48279657a8c0 (diff) | |
download | linux-acc0f67f307f52f7aec1cffdc40a786c15dd21d9.tar.xz |
tty: Halve flip buffer GFP_ATOMIC memory consumption
tty flip buffers use GFP_ATOMIC allocations for received data
which is to be processed by the line discipline. For each byte
received, an extra byte is used to indicate the error status of
that byte.
Instead, if the received data is error-free, encode the entire
buffer without status bytes.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions