Re: svn commit: r303562 - head/sys/kern

2016-09-22 Thread Mateusz Guzik
On Thu, Sep 22, 2016 at 08:35:50PM +0200, Oliver Pinter wrote:
> Hi!
> 
> On Sun, Jul 31, 2016 at 12:21 AM, Mateusz Guzik  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.

I have no intentions in merging this in isolation. It is largely
cosmetic anyway.

However, I have various changes (including pending ones) which I may end
up merging if that happens, this will also get in.

-- 
Mateusz Guzik 
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r303562 - head/sys/kern

2016-09-22 Thread Oliver Pinter
Hi!

On Sun, Jul 31, 2016 at 12:21 AM, Mateusz Guzik  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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"