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 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html