Re: [PATCH] vlan & net drivers: avoid a 4-order allocation
- From: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Feb 2007 14:20:13 -0800
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/
- References:
- [PATCH] vlan & net drivers: avoid a 4-order allocation
- From: Dan Aloni
- [PATCH] vlan & net drivers: avoid a 4-order allocation
- Prev by Date: Re: [PATCH] bonding: replace system timer with work queue
- Next by Date: Re: [PATCH 1/2] Define FIXED_PORT flag for serial_core
- Previous by thread: [PATCH] vlan & net drivers: avoid a 4-order allocation
- Next by thread: [PATCH] acpi: fan after suspend-to-mem fix
- Index(es):
Relevant Pages
|