From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net v1 1/1] tipc: allocate user memory with GFP_KERNEL flag Date: Mon, 16 Jan 2017 13:32:05 -0500 (EST) Message-ID: <20170116.133205.742000535333252859.davem@davemloft.net> References: <1484318785-20749-1-git-send-email-parthasarathy.bhuvaragan@ericsson.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, tipc-discussion@lists.sourceforge.net, jon.maloy@ericsson.com To: parthasarathy.bhuvaragan@ericsson.com Return-path: In-Reply-To: <1484318785-20749-1-git-send-email-parthasarathy.bhuvaragan@ericsson.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tipc-discussion-bounces@lists.sourceforge.net List-Id: netdev.vger.kernel.org From: Parthasarathy Bhuvaragan Date: Fri, 13 Jan 2017 15:46:25 +0100 > Until now, we allocate memory always with GFP_ATOMIC flag. > When the system is under memory pressure and a user tries to send, > the send fails due to low memory. However, the user application > can wait for free memory if we allocate it using GFP_KERNEL flag. > > In this commit, we use allocate memory with GFP_KERNEL for all user > allocation. > > Reported-by: Rune Torgersen > Acked-by: Jon Maloy > Signed-off-by: Parthasarathy Bhuvaragan Applied. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot