From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: Subject: [PATCH] net/ipv6: Use GFP_ATOMIC when a lock is held Date: Sun, 30 May 2010 22:55:12 +0200 Message-ID: <1275252912.2472.23.camel@edumazet-laptop> References: <1275250288.2472.21.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "David S. Miller" , Alexey Kuznetsov , "Pekka Savola (ipv6)" , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org To: Julia Lawall Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Le dimanche 30 mai 2010 =C3=A0 22:50 +0200, Julia Lawall a =C3=A9crit : > I think the proposed patch does not work, because the for loop overwr= ites=20 > p. That use of p looks like it is completely local to the for loop, = so=20 > perhaps a new variable p1 could be added to be used there? Please do so. I just wanted to tell you changing GFP_KERNEL to GFP_ATOMIC is not an appropriate way to solve this kind of problems. My patch was to get an idea, not a full and tested patch :)