Re: How to map high memory for block io
- From: Pierre Ossman <drzeus-list@xxxxxxxxx>
- Date: Tue, 30 Jan 2007 21:41:46 +0100
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Prev by Date: Re: Free Linux Driver Development!
- Next by Date: Re: [PATCH] EFI x86: pass firmware call parameters on the stack
- Previous by thread: [2.6.20-rc6] pktcdvd doesn't work
- Next by thread: [PATCH] Move TASK_XACCT, TASK_IO_ACCOUNTING up in menus
- Index(es):
Relevant Pages
|