diff options
author | Borislav Petkov <petkovbb@googlemail.com> | 2008-04-27 15:38:32 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-27 15:38:32 +0200 |
commit | 41aa17069ea8d2b5cd2ca1ef7ff6cdb7c6abec95 (patch) | |
tree | bf622ae5f84894a20fba961d010e083372b19e4d /.mailmap | |
parent | 4c3032d8a4d6c97bd6e02bcab524ef2428d89561 (diff) |
ide-tape: improve buffer allocation strategy
Instead of allocating pages for the buffer one by one, take advantage of the
buddy alloc system and request them 2^order at a time. This increases the chance
for bigger buffer parts to be contigious and reduces loop iteration count. While
at it, rename function __idetape_kmalloc_stage() to ide_tape_kmalloc_buffer().
[bart: fold with "ide-tape: fix mem leak" patch to preserve bisectability]
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions