Date: Wed, 26 Apr 2023 16:42:06 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Mark Johnston <markj@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 78cfa762ebf2 - main - callout: Move per-CPU callout state into the dpcpu region Message-ID: <d0e16a27-4faa-4eae-6553-eaf09d576074@selasky.org> In-Reply-To: <202304261413.33QEDxBD086666@gitrepo.freebsd.org> References: <202304261413.33QEDxBD086666@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/26/23 16:13, Mark Johnston wrote: > - mtx_init(&cc->cc_lock, "callout", NULL, MTX_SPIN); > + mtx_init(&cc->cc_lock, "callout", NULL, MTX_SPIN | MTX_NEW); Is the MTX_NEW needed? Shouldn't the DCPU memory be zeroed by default? --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d0e16a27-4faa-4eae-6553-eaf09d576074>