Date: Wed, 14 Nov 2012 19:47:41 +0400 From: Gleb Smirnoff <glebius@FreeBSD.org> To: "Alexander V. Chernikov" <melifaro@yandex-team.ru> Cc: freebsd-ipfw@FreeBSD.org, Luigi Rizzo <rizzo@iet.unipi.it>, "freebsd-net@freebsd.org" <freebsd-net@FreeBSD.org> Subject: Re: [CFT] ipfw SMP-ready dynamic states Message-ID: <20121114154741.GE29772@nginx.com> In-Reply-To: <50A29F57.6090701@yandex-team.ru> References: <50A29F57.6090701@yandex-team.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 13, 2012 at 11:28:23PM +0400, Alexander V. Chernikov wrote: A> So, we can do the following: A> 1) lock increments/decrements via some separate mutex A> 2) do nothing A> 3) take some combined approach: 4) Take it via uma_zone_getcur(ipfw_dyn_rule_zone); -- Totus tuus, Glebius.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121114154741.GE29772>