Re: Subject: [PATCH] net/ipv6: Use GFP_ATOMIC when a lock is held

From: Eric Dumazet
Date: Sun May 30 2010 - 16:55:27 EST


Le dimanche 30 mai 2010 Ã 22:50 +0200, Julia Lawall a Ãcrit :

> I think the proposed patch does not work, because the for loop overwrites
> p. That use of p looks like it is completely local to the for loop, so
> 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 :)




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/