[PATCH v8 1/3] virtio_console: Merge struct buffer_token into struct port_buffer

2012-10-30 Thread Sjur Brændeland
From: Sjur Brændeland Refactoring the splice functionality by unifying the approach for sending scatter-lists and regular buffers. This simplifies buffer handling and reduces code size. Splice will now allocate a port_buffer and send_buf() and free_buf() can always be used for any buffer.

[PATCH v8 1/3] virtio_console: Merge struct buffer_token into struct port_buffer

2012-10-30 Thread Sjur Brændeland
From: Sjur Brændeland sjur.brandel...@stericsson.com Refactoring the splice functionality by unifying the approach for sending scatter-lists and regular buffers. This simplifies buffer handling and reduces code size. Splice will now allocate a port_buffer and send_buf() and free_buf() can always