On Thursday 11 October 2012 00:00:20 Ming Lei wrote: > > This is much harder than it sounds. > > Keeping allowed gfp_flag inside task_struct should be one solution, and > let that teach mm to allocate memory, see the draft idea below: Very clever. However, how hot are the code paths you are adding this to? Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html