Date: Thu, 22 Sep 2016 20:35:50 +0200 From: Oliver Pinter <oliver.pinter@hardenedbsd.org> To: Mateusz Guzik <mjg@freebsd.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r303562 - head/sys/kern Message-ID: <CAPQ4ffu23b_T%2BizbNpD4%2BCwSA62OT__KggopGWq9HJEWVZ2rvQ@mail.gmail.com> In-Reply-To: <201607302221.u6UMLn4E035551@repo.freebsd.org> References: <201607302221.u6UMLn4E035551@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! On Sun, Jul 31, 2016 at 12:21 AM, Mateusz Guzik <mjg@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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPQ4ffu23b_T%2BizbNpD4%2BCwSA62OT__KggopGWq9HJEWVZ2rvQ>