[patch 02/13] jffs2 summary allocation: don't use vmalloc()

Andrew Morton akpm at linux-foundation.org
Wed Jul 30 18:46:18 EDT 2008


On Wed, 30 Jul 2008 15:39:24 -0700
David Brownell <david-b at pacbell.net> 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.

Well yes.  It's been four months since this bug (it goes oops!) was
reported and afaik there's been no discussion or consideration or
anything else.

I don't know how much of a problem this bug is in the real world, but
it's taking an awful long time to get fixed?




More information about the linux-mtd mailing list