Date: Mon, 20 Jun 2016 09:06:50 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r302027 - stable/10/sys/vm Message-ID: <201606200906.u5K96om0033475@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon Jun 20 09:06:50 2016 New Revision: 302027 URL: https://svnweb.freebsd.org/changeset/base/302027 Log: MFC r301851: Explicitely initialize sw_alloc_sx. Modified: stable/10/sys/vm/swap_pager.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/vm/swap_pager.c ============================================================================== --- stable/10/sys/vm/swap_pager.c Mon Jun 20 06:45:42 2016 (r302026) +++ stable/10/sys/vm/swap_pager.c Mon Jun 20 09:06:50 2016 (r302027) @@ -498,6 +498,7 @@ swap_pager_init(void) TAILQ_INIT(&swap_pager_object_list[i]); mtx_init(&sw_alloc_mtx, "swap_pager list", NULL, MTX_DEF); mtx_init(&sw_dev_mtx, "swapdev", NULL, MTX_DEF); + sx_init(&sw_alloc_sx, "swspsx"); /* * Device Stripe, in PAGE_SIZE'd blocks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606200906.u5K96om0033475>