On 11/5/16, Mark Johnston <ma...@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...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-stable-11
> To unsubscribe, send any mail to
> "svn-src-stable-11-unsubscr...@freebsd.org"
>
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to