Date: Sun, 11 Dec 2016 01:39:44 +0100 From: Oliver Pinter <oliver.pinter@hardenedbsd.org> To: Mark Johnston <markj@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: Re: svn commit: r308350 - stable/11/sys/kern Message-ID: <CAPQ4ffuzTSm5z4TuLpCCDTJZRB5wO_5=ULaTZ675UK1=AEzSEw@mail.gmail.com> In-Reply-To: <201611052015.uA5KFxZM068332@repo.freebsd.org> References: <201611052015.uA5KFxZM068332@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/5/16, Mark Johnston <markj@freebsd.org> wrote: > Author: markj > Date: Sat Nov 5 20:15:58 2016 > New Revision: 308350 > URL: https://svnweb.freebsd.org/changeset/base/308350 > > Log: > MFC r308097: > Fix WITNESS hints for pagequeue locks. I think this commit required for 10-STABLE too: op@opn hardenedBSD.git> git grep "vm pagequeue" sys/vm/vm_page.c: mtx_init(&pq->pq_mutex, pq->pq_name, "vm pagequeue", op@opn hardenedBSD.git> git grep "vm page queue" sys/kern/subr_witness.c: { "vm page queue", &lock_class_mtx_sleep }, sys/kern/subr_witness.c: { "vm page queue", &lock_class_mtx_sleep }, op@opn hardenedBSD.git> It would be nice to MFC them to 10-STABLE too. > > Modified: > stable/11/sys/kern/subr_witness.c > Directory Properties: > stable/11/ (props changed) > > Modified: stable/11/sys/kern/subr_witness.c > ============================================================================== > --- stable/11/sys/kern/subr_witness.c Sat Nov 5 20:14:23 2016 (r308349) > +++ stable/11/sys/kern/subr_witness.c Sat Nov 5 20:15:58 2016 (r308350) > @@ -599,7 +599,7 @@ static struct witness_order_list_entry o > * CDEV > */ > { "vm map (system)", &lock_class_mtx_sleep }, > - { "vm page queue", &lock_class_mtx_sleep }, > + { "vm pagequeue", &lock_class_mtx_sleep }, > { "vnode interlock", &lock_class_mtx_sleep }, > { "cdev", &lock_class_mtx_sleep }, > { NULL, NULL }, > @@ -609,7 +609,7 @@ static struct witness_order_list_entry o > { "vm map (user)", &lock_class_sx }, > { "vm object", &lock_class_rw }, > { "vm page", &lock_class_mtx_sleep }, > - { "vm page queue", &lock_class_mtx_sleep }, > + { "vm pagequeue", &lock_class_mtx_sleep }, > { "pmap pv global", &lock_class_rw }, > { "pmap", &lock_class_mtx_sleep }, > { "pmap pv list", &lock_class_rw }, > _______________________________________________ > svn-src-stable-11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-stable-11 > To unsubscribe, send any mail to > "svn-src-stable-11-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPQ4ffuzTSm5z4TuLpCCDTJZRB5wO_5=ULaTZ675UK1=AEzSEw>