commit | acc0f67f307f52f7aec1cffdc40a786c15dd21d9 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Mon Dec 09 09:23:52 2013 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Dec 09 11:09:24 2013 -0800 |
tree | 30fe7356b60d42814b63c3de8ab00ac2bf9ed05d | |
parent | 9bbc3dca9d2212f900396ab9642c48279657a8c0 [diff] |
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>