From owner-freebsd-current@FreeBSD.ORG Mon Aug 1 07:35:13 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51F1D106566C for ; Mon, 1 Aug 2011 07:35:13 +0000 (UTC) (envelope-from andy@fud.org.nz) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EBF238FC17 for ; Mon, 1 Aug 2011 07:35:12 +0000 (UTC) Received: by wyg24 with SMTP id 24so1800308wyg.13 for ; Mon, 01 Aug 2011 00:35:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.160.68 with SMTP id t46mr370590wek.5.1312182567993; Mon, 01 Aug 2011 00:09:27 -0700 (PDT) Received: by 10.216.188.12 with HTTP; Mon, 1 Aug 2011 00:09:27 -0700 (PDT) Date: Mon, 1 Aug 2011 19:09:27 +1200 Message-ID: From: Andrew Thompson To: "current@freebsd.org Current" Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Mon, 01 Aug 2011 12:02:56 +0000 Cc: Subject: variable init X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2011 07:35:13 -0000 Hi, Looking at, http://www.freebsd.org/cgi/query-pr.cgi?pr=159345 The lock is a global variable, declared as static struct mtx lagg_list_mtx; I would expect this to be zeroed memory, is this guaranteed? Andrew