[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111212.190950.2203832047174673834.davem@davemloft.net>
Date: Mon, 12 Dec 2011 19:09:50 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] sch_gred: should not use GFP_KERNEL while holding a
spinlock
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 12 Dec 2011 10:42:53 +0100
> gred_change_vq() is called under sch_tree_lock(sch).
>
> This means a spinlock is held, and we are not allowed to sleep in this
> context.
>
> We might pre-allocate memory using GFP_KERNEL before taking spinlock,
> but this is not suitable for stable material.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists