Re: [PATCH] vlan & net drivers: avoid a 4-order allocation

From: Stephen Hemminger
Date: Wed Feb 28 2007 - 17:21:44 EST


On Wed, 28 Feb 2007 14:41:57 +0200
Dan Aloni <da-x@xxxxxxxxxxxxx> wrote:

> Hello,
>
> This patch splits the vlan_group struct into a multi-allocated struct. On
> x86_64, the size of the original struct is a little more than 32KB, causing
> a 4-order allocation, which is prune to problems caused by buddy-system
> external fragmentation conditions.
>
> I couldn't just use vmalloc() because vfree() cannot be called in the
> softirq context of the RCU callback.
>
> Signed-off-by: Dan Aloni <da-x@xxxxxxxxxxxxx>
>

Please submit patch to proper place: netdev@xxxxxxxxxxxxxxx
and Ben Greear <greearb@xxxxxxxxxxxxxxx>



--
Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>
-
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/