Re: How to map high memory for block io

From: Pierre Ossman
Date: Fri Jan 27 2006 - 09:13:38 EST


Jens Axboe wrote:
> On Fri, Jan 27 2006, Pierre Ossman wrote:
>
>>
>> If I set the limit to BLK_BOUNCE_HIGH then (page_address(sg->page) +
>> sg->offset) is guaranteed to be directly accessible for the entire
>> sg->length on all architectures, right? This seems to be the assumption
>> in the USB ub driver at least.
>>
>
> Yes, hence my initial suggestion to just do that.
>
>

Just making sure I understood it correctly. These bugs tend to be a pain
to debug so I'd prefer to get it right from the start. :)

Thanks for the help.

Rgds
Pierre


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/