From owner-svn-src-all@freebsd.org Thu Sep 22 18:35:52 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9DCFBE5168 for ; Thu, 22 Sep 2016 18:35:52 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 556418D for ; Thu, 22 Sep 2016 18:35:52 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-wm0-x233.google.com with SMTP id b130so163866388wmc.0 for ; Thu, 22 Sep 2016 11:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=v117lXugRsKfJHXgbpX6yFwgqkd74Z4/pogGYqfZuiI=; b=114SYW0ERR1CN2tE0WTlFhDmKKH9A/4AmB2CyOWP+M69H2hv1KMK3jZH42QkaWltbM xk3PhccORJzgxBTnOdp/I/dl56iRE73rsHGorCj4zoYaN4gA7B1LUm9Eifo0UVbSqL+0 0wqHVZvgko3MTD3QGZkv7cKyXJV9426iB6q1FuHYfzntiCovRjm//I06QYkyrxZTlVAd cuEvoPBigs5cvyNhEk+j67EnM1wRDmie/B/GzKnCBxf5/Hd2+vbOgSPPdJ/oWOy4VZFf IdWZqAVx0finKeD6lsOaZZYa5hWrtFrl95HJN7bxHfA0K+xwN9kO0BcGat17qjQx2VCE 0a9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=v117lXugRsKfJHXgbpX6yFwgqkd74Z4/pogGYqfZuiI=; b=VSGy69wVe5vVAqhKGLuiCxUrLW64AtCz4rAW1odUZ5ysH0HpXgAdnWbkjyR5PS8/0h aqUC3lwt0YihtG4InYdSxFBU3/Aly90J36HHCsnDg+WY6RyLxetOInsOxki05t+7y4cS 3USZW0GZUKZXjCnPnr2RSA5ZtfWvNQef9vhk1Ez6sbJ2i2kpv5C5GAnnjg2OdDSdpyNt UdE2vC1iFQyQi41llpEDUjBDjRI/QlNadfJMfPGkKrv5/QqV3PLTCPZkYyshvbXC9Whn 6tRq9p3yUzbjyitVgIFbAjdKqvBXNVtqc+CaM5dkiceE6VKkrPNwJgu6z7SXqeR5rDuo vENA== X-Gm-Message-State: AE9vXwP+lLUdaTK4U4UvEV3tmTAT/MSY4l+GSjSTN+Pwo30bOrux3K/HQJFtmvwQh3JMTb2zuquHynuM4xUyy5Hs X-Received: by 10.194.103.3 with SMTP id fs3mr3232423wjb.115.1474569350529; Thu, 22 Sep 2016 11:35:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.139.208 with HTTP; Thu, 22 Sep 2016 11:35:50 -0700 (PDT) In-Reply-To: <201607302221.u6UMLn4E035551@repo.freebsd.org> References: <201607302221.u6UMLn4E035551@repo.freebsd.org> From: Oliver Pinter Date: Thu, 22 Sep 2016 20:35:50 +0200 Message-ID: Subject: Re: svn commit: r303562 - head/sys/kern To: Mateusz Guzik Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2016 18:35:52 -0000 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-unsubscribe@freebsd.org"