From: Eric Dumazet Date: Thu, 15 Dec 2011 22:09:45 +0000 (+0000) Subject: sch_gred: prefer GFP_KERNEL allocations X-Git-Tag: v3.3-rc1~182^2~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=869aa41044b04964e27822124b88f799e46f01b9;p=pandora-kernel.git sch_gred: prefer GFP_KERNEL allocations In control path, its better to use GFP_KERNEL allocations where possible. Before taking qdisc spinlock, we preallocate memory just in case we'll need it in gred_change_vq() This is a followup to commit 3f1e6d3fd37b (sch_gred: should not use GFP_KERNEL while holding a spinlock) Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed