Re: How to map high memory for block io

Jens Axboe
2006-01-27T13:58:25Z

On Fri, Jan 27 2006, Pierre Ossman wrote:
> Pierre Ossman wrote:
> >
> > Doesn't seem like a generic solution is easily implemented. I'll start
> > hacking together some way of specifying that highmem isn't supported so
> > that mmc_block can indicate this to the block layer.
> >
>
> 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.

--
Jens Axboe