Prev: oom: remove warning for in mm-less task __oom_kill_process()
Next: [rfc] forked kernel task and mm structures imbalanced on NUMA
From: David Miller on 1 Jun 2010 03:30 From: Eric Dumazet <eric.dumazet(a)gmail.com> Date: Mon, 31 May 2010 07:04:55 +0200 > [PATCH] ipv6: get rid of ipip6_prl_lock > > As noticed by Julia Lawall, ipip6_tunnel_add_prl() incorrectly calls > kzallloc(..., GFP_KERNEL) while a spinlock is held. She provided > a patch to use GFP_ATOMIC instead. > > One possibility would be to convert this spinlock to a mutex, or > preallocate the thing before taking the lock. > > After RCU conversion, it appears we dont need this lock, since > caller already holds RTNL > > Signed-off-by: Eric Dumazet <eric.dumazet(a)gmail.com> Applied, thanks everyone. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |