]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-tape: improve buffer pages freeing strategy
authorBorislav Petkov <petkovbb@googlemail.com>
Sun, 27 Apr 2008 13:38:33 +0000 (15:38 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 27 Apr 2008 13:38:33 +0000 (15:38 +0200)
commitd01dbc3b85d57f3ab89be4291d4739152bb1713a
treec08ebdac853f2abbf3bf41f4c056953d643dbdad
parenta997a4356ba33dcb9c061677d5943794a29489e8
ide-tape: improve buffer pages freeing strategy

Instead of freeing pages one by one, free them 2^order-wise. Also, mv
__idetape_kfree_stage() to ide_tape_kfree_buffer().

[bart: add updating bh->b_data]

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-tape.c