Re: How to map high memory for block io

From: Pierre Ossman
Date: Thu Mar 02 2006 - 02:24:30 EST


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

-
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/