From owner-svn-src-all@FreeBSD.ORG Tue Mar 25 02:17:27 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48E8A9F8; Tue, 25 Mar 2014 02:17:27 +0000 (UTC) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 911258AA; Tue, 25 Mar 2014 02:17:26 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id k14so3925684wgh.23 for ; Mon, 24 Mar 2014 19:17:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=X0mc3uAYoEqQLgzRYZinlSGj/lhhiEkO2L2XD0petgI=; b=tKXO+9T5bQygh2a8thp/1kLEUF10SZnwI8x7VIMQ/sl9WkUCvJt37DOCzKSoPwZf/M KR0AoojilV7nZ5Qjgs1INs6jsBeS99Ux665yTfDlyC9JQCDJ2I0FGvcRkDQWHuOSmes/ Xu7HZhwl7fVV/wg1p+66ZnzMgCb8ld60PHaVosekX4eJ7JF8pVehNc5RnxNt9fyYjex3 LoL9ntMY+LigjFnKwA9mlgHlL4HqxkQyortO9n+S4c1ok4KvtN6RHggC6kmdficMMFiY FKb+H+LzuRZ0eVMvwf315Ujo8Y9wjlcDHMhmEyM1McXPnpRb37gOEBy2nDbxbMnAfUIR /vWw== MIME-Version: 1.0 X-Received: by 10.180.189.169 with SMTP id gj9mr20007905wic.17.1395713845067; Mon, 24 Mar 2014 19:17:25 -0700 (PDT) Sender: maksim.yevmenkin@gmail.com Received: by 10.227.72.130 with HTTP; Mon, 24 Mar 2014 19:17:25 -0700 (PDT) In-Reply-To: <20140324185949.GR32089@funkthat.com> References: <201403241813.s2OIDfEd024721@svn.freebsd.org> <20140324185949.GR32089@funkthat.com> Date: Mon, 24 Mar 2014 19:17:25 -0700 X-Google-Sender-Auth: wAI5q0OkvUbBMIL4YP9gG9u0UaU Message-ID: Subject: Re: svn commit: r263690 - head/sys/kern From: Maksim Yevmenkin To: John-Mark Gurney Content-Type: text/plain; charset=ISO-8859-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 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: Tue, 25 Mar 2014 02:17:27 -0000 On Mon, Mar 24, 2014 at 11:59 AM, John-Mark Gurney wrote: > Maksim Yevmenkin wrote this message on Mon, Mar 24, 2014 at 18:13 +0000: >> Author: emax >> Date: Mon Mar 24 18:13:41 2014 >> New Revision: 263690 >> URL: http://svnweb.freebsd.org/changeset/base/263690 >> >> Log: >> change defaule permissions on /dev/devstat. while i'm here remove >> D_NEEDGIANT flag > > I know that the following change is part of the remove D_NEEDGIANT, but > I'm puzzled how this code either worked before, or continues to work.. hmm... beats me too... pagelist is only growing and never shrinking, and new pages are added to the of the list, so may be that the reason, i.e. window for race is very small > It looks like pagelist was suppose to be protected by devstat_mutex, > but previously wasn't and that this is fixing that bug, is this > correct? it should fix it, yes. thanks max