Re: [PATCH 3/3] nfnetlink_queue: use hash table to speed up entry finding.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 15, 2010 at 4:23 PM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
> Le jeudi 15 avril 2010 à 14:53 +0800, Changli Gao a écrit :
>> On Tue, Apr 13, 2010 at 9:25 PM, Patrick McHardy <kaber@xxxxxxxxx> wrote:
>> >> Yes, that is why vmalloc() is perfect for this case. No extra memory for
>> >> management, but one pointer for each page of memory.
>> >
>> > I agree, if it works for conntrack, it certainly also works for
>> > nfnetlink_queue.
>> >
>>
>> I need to allocate memory in atomic section, so vmalloc() can't be used. :(
>>
>> does double check mechanism works?
>>
>
> Allocate memory to setup a hash table in atomic section ?
>
> Changli you can forget this right now, this is not serious.
>
> We are not going to use this thing because your requirements are crazy.
>

OK, I'll keep it myself. :)

-- 
Regards,
Changli Gao(xiaosuo@xxxxxxxxx)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux