lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 04 Nov 2008 15:41:12 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	dada1@...mosbay.com
Cc:	netdev@...r.kernel.org, minyard@....org
Subject: Re: [RFC] skb_free_datagram() doing something expensive ?

From: Eric Dumazet <dada1@...mosbay.com>
Date: Wed, 05 Nov 2008 00:02:22 +0100

> tcp_memory_allocated do not have this problem, since tcp carefully calls sk_mem_reclaim(sk) only on
> selected paths, not on fast path.

I think something similar can be done for UDP.

Otherwise, yes, we'll need to do else something about it.

I guess your per-cpu idea, since we're trying to enforce
global limits, is to cache the available quota on a per-cpu
basis.  But I wonder if that can work properly.  If a
cpu gets overloaded and runs out of it's local quota, it'll
need to grab from another cpu.... hmmm...

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ