svn commit: r264321 - head/sys/netinet

Bjoern A. Zeeb bz at FreeBSD.org
Fri Apr 11 10:56:51 UTC 2014


On 10 Apr 2014, at 18:15 , John Baldwin <jhb at FreeBSD.org> wrote:

> +/* Global timewait lock */
> +static VNET_DEFINE(struct rwlock, tw_lock);
> +#define	V_tw_lock			VNET(tw_lock)

Why do we virtualise individual locks now?   Usually we only do for those embedded into larger virtualised data structures?  Does this align with an independently virtualised data structure (in which case the lock should be part of that)?

/bz

— 
Bjoern A. Zeeb                             ????????? ??? ??????? ??????:
'??? ??? ???? ??????  ??????? ?? ?? ??????? ??????? ??? ????? ????? ????
?????? ?? ????? ????',  ????????? ?????????, "??? ????? ?? ?????", ?.???



More information about the svn-src-head mailing list