From: Mel Gorman <mgorman@xxxxxxx> Date: Thu, 10 May 2012 14:45:06 +0100 > In order to make sure pfmemalloc packets receive all memory > needed to proceed, ensure processing of pfmemalloc SKBs happens > under PF_MEMALLOC. This is limited to a subset of protocols that > are expected to be used for writing to swap. Taps are not allowed to > use PF_MEMALLOC as these are expected to communicate with userspace > processes which could be paged out. > > [a.p.zijlstra@xxxxxxxxx: Ideas taken from various patches] > [jslaby@xxxxxxx: Lock imbalance fix] > Signed-off-by: Mel Gorman <mgorman@xxxxxxx> This adds more code where we're modifying task->flags from software interrupt context. I'm not convinced that's safe. Also, this starts to add new tests in the fast paths. Most of the time they are not going to trigger at all. Please use the static branch I asked you to add in a previous patch to mitigate this. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>