]> git.karo-electronics.de Git - linux-beck.git/commit
block: set the bounce_pfn to the actual DMA limit rather than to max memory
authorMalahal Naineni <malahal@us.ibm.com>
Fri, 24 Sep 2010 18:25:49 +0000 (20:25 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 24 Sep 2010 18:27:16 +0000 (20:27 +0200)
commitc49825facfd4969585224a896a5e717f88450cad
tree2c244fdf033f858147875333024838e493d9e43e
parent4b1977698ceb4c4caa800d475127139da49966f9
block: set the bounce_pfn to the actual DMA limit rather than to max memory

The bounce_pfn of the request queue in 64 bit systems is set to the
current max_low_pfn. Adding more memory later makes this incorrect.
Memory allocated beyond this boot time max_low_pfn appear to require
bounce buffers (bounce buffers are actually not allocated but used in
calculating segments that may result in "over max segments limit"
errors).

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-settings.c