lkml.org 
[lkml]   [2007]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] vlan & net drivers: avoid a 4-order allocation
Date
On Wed, 28 Feb 2007 14:41:57 +0200
Dan Aloni <da-x@monatomic.org> 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@monatomic.org>
>

Please submit patch to proper place: netdev@vger.kernel.org
and Ben Greear <greearb@candelatech.com>



--
Stephen Hemminger <shemminger@linux-foundation.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-02-28 23:23    [from the cache]
©2003-2011 Jasper Spaans