Re: [PATCH] [RFT] ip_tables NUMA optimization
From: Harald Welte <hidden>
Date: 2005-11-19 08:45:47
Also in:
netfilter-devel
Attachments
- (unnamed) [application/pgp-signature] 189 bytes
From: Harald Welte <hidden>
Date: 2005-11-19 08:45:47
Also in:
netfilter-devel
On Fri, Nov 18, 2005 at 04:00:43PM -0800, David S. Miller wrote:
quoted
It should probably use vfree() like : > + for_each_cpu(cpu) { > + if (info->size <= PAGE_SIZE) > + kfree(info->entries[cpu]); > + else > + vfree(info->entries[cpu]); > + }I've put the patch into the net-2.6.16 tree with the obvious fix Eric points out.
thanks! -- - Harald Welte [off-list ref] http://netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie