From: Mel Gorman <mgorman@xxxxxxx> Date: Thu, 17 May 2012 15:50:23 +0100 > Allow specific sockets to be tagged SOCK_MEMALLOC and use > __GFP_MEMALLOC for their allocations. These sockets will be able to go > below watermarks and allocate from the emergency reserve. Such sockets > are to be used to service the VM (iow. to swap over). They must be > handled kernel side, exposing such a socket to user-space is a bug. > > There is a risk that the reserves be depleted so for now, the > administrator is responsible for increasing min_free_kbytes as > necessary to prevent deadlock for their workloads. > > [a.p.zijlstra@xxxxxxxxx: Original patches] > Signed-off-by: Mel Gorman <mgorman@xxxxxxx> Acked-by: David S. Miller <davem@xxxxxxxxxxxxx> -- 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>