svn commit: r303562 - head/sys/kern

Oliver Pinter oliver.pinter at hardenedbsd.org
Thu Sep 22 18:35:52 UTC 2016


Hi!

On Sun, Jul 31, 2016 at 12:21 AM, Mateusz Guzik <mjg at freebsd.org> wrote:
> Author: mjg
> Date: Sat Jul 30 22:21:48 2016
> New Revision: 303562
> URL: https://svnweb.freebsd.org/changeset/base/303562
>
> Log:
>   rwlock: s/READER/WRITER/ in wlock lockstat annotation
>
> Modified:
>   head/sys/kern/kern_rwlock.c
>
> Modified: head/sys/kern/kern_rwlock.c

Do you plan to MFC this to 10-STABLE? Seems like, it's "affected" too.

> ==============================================================================
> --- head/sys/kern/kern_rwlock.c Sat Jul 30 21:06:59 2016        (r303561)
> +++ head/sys/kern/kern_rwlock.c Sat Jul 30 22:21:48 2016        (r303562)
> @@ -920,7 +920,7 @@ __rw_wlock_hard(volatile uintptr_t *c, u
>         /* Record only the loops spinning and not sleeping. */
>         if (spin_cnt > sleep_cnt)
>                 LOCKSTAT_RECORD4(rw__spin, rw, all_time - sleep_time,
> -                   LOCKSTAT_READER, (state & RW_LOCK_READ) == 0,
> +                   LOCKSTAT_WRITER, (state & RW_LOCK_READ) == 0,
>                     (state & RW_LOCK_READ) == 0 ? 0 : RW_READERS(state));
>  #endif
>         LOCKSTAT_PROFILE_OBTAIN_RWLOCK_SUCCESS(rw__acquire, rw, contested,
> _______________________________________________
> svn-src-head at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscribe at freebsd.org"


More information about the svn-src-all mailing list