From owner-svn-src-all@freebsd.org Wed Apr 19 18:02:41 2017 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 E117FD440B4; Wed, 19 Apr 2017 18:02:41 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (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 B8BAF785; Wed, 19 Apr 2017 18:02:41 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: by mail-io0-x242.google.com with SMTP id x86so5744626ioe.3; Wed, 19 Apr 2017 11:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=lVxQsimqzRHxFFsMC8RIbbrBrhzQOqCGnpmmcpEiys8=; b=qnmjz2ungZH8gZJvBgECMaPijanSj0FoNq2yD58T0LY8euRmYMLJAMv1fw/TpFWliB CQOD7iNCHPLhlHGeBxkN8AmLkXKnfIK6/jM/E4Ooc+gMDel1RaCaSWT4LwRZiwqeYc9R wTM1xY+4EfT1gCEs8UePq1gNEml68HRkkGs59yWyVXqJ2Cfuvfxz8p+LY6ME4ZBXtuJz juPZ9Pwo0kzJtUFHAeu1RMFbyi4nG98nwRhre0dIrOOQSxToZM+LpmWipWj6IeY2cp1k RouOlGjm0WOeyG6Av+OfZeQ0BYhcXRfi4xmaHXlVAoNdPu+xJLrtOfIRh2nhrFvpoCqh oYgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=lVxQsimqzRHxFFsMC8RIbbrBrhzQOqCGnpmmcpEiys8=; b=ZJa0qDxDGvPimeVTgkSbLfu/rntdJGb2EcCiR+61d87c+9ln8/w6kOf2bAcBJrHdnE UT2WY7kA65QMSTlJEuosIEgUxc5VCmWklVmZHR7yUfIUiJV9IgtGHTihwTZOLz5v4vbn chiV17DmCt7Fmn/bktMpSGlnAnvAXSL47T3viXQcEvUz+J0s5olycePK6jFfrTuhKqwn hS2sEZxQNg+wRbMuwpkdIiLqmZ2kFfF9zkzYL6Uwjoy+1BZS2oJ27Ii8aE8fS9/62ERU qhSfDetixpYbZGgvkWATIVEXCB/l9de+De3mYYoWQa1CewMaE8ABL+GM02TXVelePTGL 0Vtw== X-Gm-Message-State: AN3rC/5ZCo49CsjDAcmSzxQlPbyxR2fZDBpYvQBO7kcxVSeYsaOWuTYU ow6gqpIB4Eatkx5IPulny2CzPLuWkoH0 X-Received: by 10.107.147.135 with SMTP id v129mr4238340iod.233.1492624960582; Wed, 19 Apr 2017 11:02:40 -0700 (PDT) MIME-Version: 1.0 Sender: antoine.brodin.freebsd@gmail.com Received: by 10.107.33.209 with HTTP; Wed, 19 Apr 2017 11:02:40 -0700 (PDT) In-Reply-To: <201704171734.v3HHYlf5022945@repo.freebsd.org> References: <201704171734.v3HHYlf5022945@repo.freebsd.org> From: Antoine Brodin Date: Wed, 19 Apr 2017 20:02:40 +0200 X-Google-Sender-Auth: IL24ywxGQ3o9pTE8owztbHvk2UQ Message-ID: Subject: Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocfs... To: Gleb Smirnoff Cc: src-committers , 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: Wed, 19 Apr 2017 18:02:42 -0000 On Mon, Apr 17, 2017 at 7:34 PM, Gleb Smirnoff wrote: > Author: glebius > Date: Mon Apr 17 17:34:47 2017 > New Revision: 317061 > URL: https://svnweb.freebsd.org/changeset/base/317061 > > Log: > - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter > in place. To do per-cpu stats, convert all fields that previously were > maintained in the vmmeters that sit in pcpus to counter(9). > - Since some vmmeter stats may be touched at very early stages of boot, > before we have set up UMA and we can do counter_u64_alloc(), provide an > early counter mechanism: > o Leave one spare uint64_t in struct pcpu, named pc_early_dummy_counter. > o Point counter(9) fields of vmmeter to pcpu[0].pc_early_dummy_counter, > so that at early stages of boot, before counters are allocated we already > point to a counter that can be safely written to. > o For sparc64 that required a whole dummy pcpu[MAXCPU] array. Hi, This seems to break a few ports, the most important ones: http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p438755_s317076/logs/errors/net-snmp-5.7.3_15.log http://gohan2.ysv.freebsd.org/data/head-amd64-default-baseline/p438755_s317076/logs/errors/sigar-1.7.3_2.log Cheers, Antoine