From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966141AbbKFVvd (ORCPT ); Fri, 6 Nov 2015 16:51:33 -0500 Received: from a.ns.miles-group.at ([95.130.255.143]:11949 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965640AbbKFVvc (ORCPT ); Fri, 6 Nov 2015 16:51:32 -0500 Subject: Re: [PATCH v4] um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held To: Saurabh Sengar , jdike@addtoit.com, user-mode-linux-devel@lists.sourceforge.net, user-mode-linux-user@lists.sourceforge.net, linux-kernel@vger.kernel.org References: <1446132632-23623-1-git-send-email-saurabh.truth@gmail.com> From: Richard Weinberger Message-ID: <563D20E0.6010702@nod.at> Date: Fri, 6 Nov 2015 22:51:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1446132632-23623-1-git-send-email-saurabh.truth@gmail.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 29.10.2015 um 16:30 schrieb Saurabh Sengar: > since GFP_KERNEL with GFP_ATOMIC while spinlock is held, > as code while holding a spinlock should be atomic. > GFP_KERNEL may sleep and can cause deadlock, > where as GFP_ATOMIC may fail but certainly avoids deadlockdex f70dd54..d898f6c 100644 > > Signed-off-by: Saurabh Sengar Applied! Thanks, //richard