From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx163.postini.com [74.125.245.163]) by kanga.kvack.org (Postfix) with SMTP id 10C226B0083 for ; Thu, 17 May 2012 16:11:16 -0400 (EDT) Date: Thu, 17 May 2012 16:11:09 -0400 (EDT) Message-Id: <20120517.161109.1822721470409742316.davem@davemloft.net> Subject: Re: [PATCH 09/17] netvm: Allow the use of __GFP_MEMALLOC by specific sockets From: David Miller In-Reply-To: <1337266231-8031-10-git-send-email-mgorman@suse.de> References: <1337266231-8031-1-git-send-email-mgorman@suse.de> <1337266231-8031-10-git-send-email-mgorman@suse.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: mgorman@suse.de Cc: akpm@linux-foundation.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, neilb@suse.de, a.p.zijlstra@chello.nl, michaelc@cs.wisc.edu, emunson@mgebm.net From: Mel Gorman 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@chello.nl: Original patches] > Signed-off-by: Mel Gorman Acked-by: David S. Miller -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. 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: email@kvack.org