From owner-svn-src-all@FreeBSD.ORG Fri Apr 11 10:56:51 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1B502C49; Fri, 11 Apr 2014 10:56:51 +0000 (UTC) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BF6A71774; Fri, 11 Apr 2014 10:56:50 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 5FDBF25D3A82; Fri, 11 Apr 2014 10:56:48 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 8AF61C22C15; Fri, 11 Apr 2014 10:56:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id tlolz7ukG-uv; Fri, 11 Apr 2014 10:56:46 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4410:2d49:4b0b:d811:7e62] (unknown [IPv6:fde9:577b:c1a9:4410:2d49:4b0b:d811:7e62]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 8D0C3C22C0F; Fri, 11 Apr 2014 10:56:45 +0000 (UTC) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: svn commit: r264321 - head/sys/netinet From: "Bjoern A. Zeeb" In-Reply-To: <201404101815.s3AIFZx3065541@svn.freebsd.org> Date: Fri, 11 Apr 2014 10:56:16 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <2775D53A-8728-4E8D-B53D-ADC00649D737@FreeBSD.org> References: <201404101815.s3AIFZx3065541@svn.freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.1874) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2014 10:56:51 -0000 On 10 Apr 2014, at 18:15 , John Baldwin 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 =97=20 Bjoern A. Zeeb ????????? ??? ??????? ??????: '??? ??? ???? ?????? ??????? ?? ?? ??????? ??????? ??? ????? ????? ???? ?????? ?? ????? ????', ????????? ?????????, "??? ????? ?? ?????", ?.???