Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2011 08:17:28 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Robert Watson <rwatson@FreeBSD.org>, net@FreeBSD.org
Subject:   Re: Transitioning if_addr_lock to an rwlock
Message-ID:  <20111227041728.GI8035@FreeBSD.org>
In-Reply-To: <201112221130.01823.jhb@freebsd.org>
References:  <201112221130.01823.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 22, 2011 at 11:30:01AM -0500, John Baldwin wrote:
J> You can find the patch for 8.x at 
J> http://www.freebsd.org/~jhb/patches/if_addr_rwlock.patch

Just my two pennies: for head/ patching if ip_carp.c should
be straightforward:

1) Using W in carp_alloc_if() and carp_free_if().
2) Using R everywhere else.

-- 
Totus tuus, Glebius.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111227041728.GI8035>