diff options
author | Borislav Petkov <petkovbb@googlemail.com> | 2008-04-27 09:38:25 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-27 09:38:25 -0400 |
commit | 5e69bd959d1086f87a603b4ddc6bdb0a130ec7db (patch) | |
tree | 557a1e62e25da255ed7ce61cbe6118ed653e9df0 /mm/oom_kill.c | |
parent | ddfe7a776360f7067e06eee9d8b1ae4d957e6ddf (diff) |
ide-tape: remove pipeline-specific code from idetape_add_chrdev_read_request()
In order to do away with queueing read requests on the pipeline, several things
have to be done:
1. Do not allocate additional pipeline stages in idetape_init_read() until
(tape->nr_stages < max_stages) and do only read operation preparations. As a
collateral result, idetape_add_stage_tail() becomes unused so remove it.
2. Queue the read request's buffer directly thru idetape_queue_rw_tail().
3. Remove now unused idetape_kmalloc_stage() and idetape_switch_buffers().
[bart: simplify the original patch]
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions