CONFIG_PREEMPT and JFFS2 oops

Paul Walmsley paul at pwsan.com
Sat Jan 28 04:51:26 EST 2012


On Thu, 26 Jan 2012, Joakim Tjernlund wrote:

> .. and you should delay the second allocation to when it is needed. After swapping ptrs, test if
> tmp_buf is NULL and kmalloc if so.

Hmm.  You are thinking of a GFP_ATOMIC allocation?  Seems best to avoid 
those?


- Paul



More information about the linux-mtd mailing list