Re: CONFIG_PREEMPT and JFFS2 oops

Paul Walmsley
2012-01-28T09:51:26Z

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

______________________________________________________
Linux MTD discussion mailing list