[patch 02/13] jffs2 summary allocation: don't use vmalloc()
David Woodhouse
dwmw2 at infradead.org
Thu Jul 31 03:33:03 EDT 2008
On Wed, 2008-07-30 at 15:39 -0700, David Brownell wrote:
> > This patch will probably break all sorts of things because that buffer is
> > &*large*: up to half a meg.
> >
> > So this patch isn't mergeable. I'll hang onto it to bug dmwm2 with when he
> > reincarnates.
>
> I'm still asking whether MTD folk have any plans to make that stack DMA-safe...
> more than just the SPI flash drivers (mtd_dataflash, m25p80) could benefit
> from DMA support, so I'd hope it's at least being considered.
>
> If the answer is "no" then (a) the MTD interface specs need to finally say
> they pass DMA-unsafe addresses, and (b) those SPI flash drivers are going
> to need updates.
Yes. We're planning to change the API so it looks a lot more like the
block layer, and a lot less like the one we inherited from PCMCIA in the
1990s. One of the design considerations we've spoken about has been the
fact that we want to make DMA work properly.
--
dwmw2
More information about the linux-mtd
mailing list