[BLOCK] Fix bounce limit address check
authorAndi Kleen <ak@suse.de>
Wed, 21 Jun 2006 12:48:09 +0000 (14:48 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Fri, 23 Jun 2006 15:10:39 +0000 (17:10 +0200)
commit8269730b389d4793348d521140f9c76fb1828249
treec10c9441a16265f698dd4a38014c9d3026ee07c0
parentdd67d051529387f6e44d22d1d5540ef281965fdd
[BLOCK] Fix bounce limit address check

Do a safer check for when to enable DMA. Currently we enable ISA DMA
for cases that do not need it, resulting in OOM conditions when ZONE_DMA
runs out of space.

Signed-off-by: Jens Axboe <axboe@suse.de>
block/ll_rw_blk.c