Re: [PATCH] jffs2 summary allocation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Brownell
Date: Friday, April 4, 2008 - 7:41 pm

On Friday 04 April 2008, Andrew Morton wrote:

Which problem -- kmalloc(BIG)?  Or dma(dma-unsafe-mem)?
Or something else?

The specific issue here might best be described as JFFS2
making a bad assumption:  that MTD drivers never use DMA.
The I2C stack does that in some cases (for example, I/O
buffers in i2c_smbus_xfer_emulated are on-stack), but I'd
not call that an especially common assumption.



If array-of-pages is to be more widely adopted, that'd
make sense.  The MTD framework is a bit odd in that
respect ... it has block devices but doesn't use the
scatterlist primitives.

- Dave
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] jffs2 summary allocation, Michael Trimarchi, (Fri Apr 4, 3:23 am)
Re: [PATCH] jffs2 summary allocation, Andrew Morton, (Fri Apr 4, 12:48 pm)
Re: [PATCH] jffs2 summary allocation, Russell King - ARM Linux, (Fri Apr 4, 1:09 pm)
Re: [PATCH] jffs2 summary allocation, David Brownell, (Fri Apr 4, 4:09 pm)
Re: [PATCH] jffs2 summary allocation, Josh Boyer, (Fri Apr 4, 4:21 pm)
Re: [PATCH] jffs2 summary allocation, David Brownell, (Fri Apr 4, 4:58 pm)
Re: [PATCH] jffs2 summary allocation, Josh Boyer, (Fri Apr 4, 6:11 pm)
Re: [PATCH] jffs2 summary allocation, Kyungmin Park, (Fri Apr 4, 6:29 pm)
Re: [PATCH] jffs2 summary allocation, Andrew Morton, (Fri Apr 4, 6:46 pm)
Re: [PATCH] jffs2 summary allocation, David Brownell, (Fri Apr 4, 7:17 pm)
Re: [PATCH] jffs2 summary allocation, David Brownell, (Fri Apr 4, 7:41 pm)
Re: [PATCH] jffs2 summary allocation, Andrew Morton, (Fri Apr 4, 8:27 pm)