[dm-devel] [PATCH] block: set the bounce_pfn to the actual DMA limit rather than to max memory

Jens Axboe jaxboe at fusionio.com
Fri Sep 24 13:58:00 UTC 2010


On 2010-09-22 00:22, Malahal Naineni wrote:
> 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.

Clearly correct.

> 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).

But I can't quite convince myself that the change is fully correct. You
don't really explain in your own words what the patch does, just what it
fixes.


-- 
Jens Axboe




More information about the dm-devel mailing list