diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-12-09 09:23:52 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-09 11:09:24 -0800 |
commit | acc0f67f307f52f7aec1cffdc40a786c15dd21d9 (patch) | |
tree | 30fe7356b60d42814b63c3de8ab00ac2bf9ed05d /lib/assoc_array.c | |
parent | 9bbc3dca9d2212f900396ab9642c48279657a8c0 (diff) | |
download | blackbird-op-linux-acc0f67f307f52f7aec1cffdc40a786c15dd21d9.tar.gz blackbird-op-linux-acc0f67f307f52f7aec1cffdc40a786c15dd21d9.zip |
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 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions