You don't want to do that :) You're starving other GFP_ATOMIC
processes, and will increase system failures due to lack of memory...
even though there may be plenty outside the emergency pools.
One option is to create a background kernel thread (via schedule_task or
schedule_work, depending on your kernel version) that allocates memory
which your tasklet then takes.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/