[<prev] [next>] [day] [month] [year] [list]
Message-ID: <45BFAD8A.5080005@drzeus.cx>
Date: Tue, 30 Jan 2007 21:41:46 +0100
From: Pierre Ossman <drzeus-list@...eus.cx>
To: Russell King <rmk+lkml@....linux.org.uk>,
Jens Axboe <axboe@...e.de>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: How to map high memory for block io
Russell King wrote:
> 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."
>
> I'm unconvinced that we can safely fiddle with the queue's flags once
> the queue is in use, hence why I've gone for the init-time only solution.
> Maybe Jens can comment on that?
>
> (The side effect of this patch is that everyone ends up with clustering
> disabled until they explicitly update their driver to enable it - which
> results in us defaulting to a safe operation mode.)
>
>
Ok, time to warm up this old chestnut. I "solved" my immediate problem
with wbsd, and this got forgotten. AFAICT, mmci.c and the rest of the
lot are still broken in the sense that they use kmap but exceed page
limits (which happens to work on non-highmem pages).
I think the right solution is to let them use page_address() instead.
Would that be correct?
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists