Re: variable init

2011-08-01 Thread Andriy Gapon
on 01/08/2011 15:52 John Baldwin said the following: > On Monday, August 01, 2011 3:09:27 am Andrew Thompson wrote: >> 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

Re: variable init

2011-08-01 Thread mdf
On Mon, Aug 1, 2011 at 12:09 AM, Andrew Thompson wrote: > 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? It depends

Re: variable init

2011-08-01 Thread John Baldwin
On Monday, August 01, 2011 3:09:27 am Andrew Thompson wrote: > 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? Y

Re: variable init

2011-08-01 Thread Andriy Gapon
on 01/08/2011 10:09 Andrew Thompson said the following: > 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? Variab

variable init

2011-08-01 Thread Andrew Thompson
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 ___ freebsd-current@freebsd.org