Re: How to map high memory for block io

Pierre Ossman
2006-03-02T07:26:53Z

Russell King wrote:
> On Tue, Jan 31, 2006 at 07:39:02PM +0100, Pierre Ossman wrote:
>
>> Jens Axboe wrote:
>>
>>> On Mon, Jan 30 2006, Pierre Ossman wrote:
>>>
>>>
>>>> Jens Axboe wrote:
>>>>
>>>>
>>>>> Ah, you need to disable clustering to prevent that from happening! I was
>>>>> confused there for a while.
>>>>>
>>>>>
>>>>>
>>>>>
>>>> And which is the lesser evil, highmem bounce buffers or disabling
>>>> clustering? I'd probably vote for the former since the MMC overhead can
>>>> be quite large.
>>>>
>>>>
>>> Disabling clustering is by far the least expensive way to accomplish it.
>>>
>>>
>>>
>> Russell, what's your view on this? And how should we handle it with
>> regard to MMC drivers?
>>
>
> Okay, I've hit this same problem (but in a slightly different way) with
> mmci.c. The way I'm proposing to fix this for mmci is to introduce a
> new capability which says "clustering is supported by this driver."
>
>

This will decrease performance more than necessary for drivers that can
do clustering, just not in highmem. So what about another flag that says
"highmem is supported by this driver"?

Rgds
Pierre