From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Thu, 09 Apr 2015 14:50:35 +0000 Subject: Re: [PATCH 2/2] ide: replace GFP_ATOMIC by GFP_KERNEL Message-Id: <20150409145035.GC16501@mwanda> List-Id: References: <1428579988-10167-1-git-send-email-lambert.quentin@gmail.com> <1428579988-10167-3-git-send-email-lambert.quentin@gmail.com> <20150409123633.GN10964@mwanda> <55268DCB.3010201@gmail.com> In-Reply-To: <55268DCB.3010201@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Quentin Lambert Cc: "David S. Miller" , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Sorry, my last email was bad. Splitting patches into logical parts is a bit tricky. Let me try explain better. Every patch should sort of make sense on its own. In the original code it's using GFP_ATOMIC but that's because the original API was bad and we had no choice. In the 1/1 patch we're using GFP_ATOMIC explicitly by choice and it's wrong. In patch 2/2 we fix this problem but we shouldn't introduce bad code even if we fix it in later patches. regards, dan carpenter