diff options
| author | Linus Torvalds <torvalds@evo.osdl.org> | 2005-01-08 04:26:48 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-08 04:26:48 -0800 |
| commit | 530f890b9bb2543189c2a9b97bc2b8d44ed2788c (patch) | |
| tree | 6531f9611a48d7a49b2a9dc1f8a79f2fa8bd0042 /include/linux | |
| parent | 0f1d4813a4a65296e1131f320a60741732bc068f (diff) | |
Re-use the buffer page for pipe data.
This brings the latency back to previous levels, and in
fact seems to drive it a bit lower.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pipe_fs_i.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h index 1e73dd8fd258..62a9de0f51ff 100644 --- a/include/linux/pipe_fs_i.h +++ b/include/linux/pipe_fs_i.h @@ -14,6 +14,7 @@ struct pipe_inode_info { wait_queue_head_t wait; unsigned int nrbufs, curbuf; struct pipe_buffer bufs[PIPE_BUFFERS]; + struct page *tmp_page; unsigned int start; unsigned int readers; unsigned int writers; |
