From owner-dev-commits-src-main@freebsd.org Fri Jun 18 17:38:23 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 364CD64A63E for ; Fri, 18 Jun 2021 17:38:23 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G65k70VSdz53Gn for ; Fri, 18 Jun 2021 17:38:22 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-pj1-x102a.google.com with SMTP id t19-20020a17090ae513b029016f66a73701so1153185pjy.3 for ; Fri, 18 Jun 2021 10:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=/TmL3cJc5gaxXLCpOGdyFevVyU6FzaVVN+B07gv4+C8=; b=lppIerJTQvm7+o4AjwShatcUiaO+Qjw83c0hswfZQhysXwksArVUg39cUXu1xF8KkZ AG2LIZHaehDBixH4acaBla7khhY5LxSrM5gPzcF3cdda3MWU8ZrYrD3qs8zdYo9MhBhQ apPzvgLBy3pFcDzEcEE6vG+UeR17+LOhWu+XVp5JNDQVuQ/56Jsv/HZFcVvIpqMoMqOw gMvILNjuDqGpWy8l5LLgQ8z4htGzT5bB965MmYA7j5xg1Yzsovkf5whrIl8ZCTcU4B+f nVCT2pxeZ6tgTnONPhoFLfd6Bm82DgpbIUGndRYZl7KBwOhNQwFjphDacOzrSjWYtprA CVGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=/TmL3cJc5gaxXLCpOGdyFevVyU6FzaVVN+B07gv4+C8=; b=hmD5RCk9VSnwvRhGZm6ubdd3rAbm5i97e4iOhV2xH+pFuYzXHc3rTQsajMKdP9hRbT gKhh7vTDFXUHKfP5Oefs4qvbxllmwJ/qq4XgsNFyCButaBLWn2yQO3Oa0k18rwNmySL0 I6KtWlBOHhzpMcIUrdGpMhsecqAHSSH7SjNx0VmpxfyWR/5Xc44Kxr+qDKsCQMOTP6br zR8oOguH/PsGUc1T6d0KysP65LZjTPdHORyF6txbHRHHe71gkxeONDIY2XBjAaNewZkp M5ZBw9qtGovgmEsHki5oWZtT1XAJa7fFeAMgBMQ60iq0oW3IjDweEk1/bQSOITbnhcb5 8kzA== X-Gm-Message-State: AOAM5311hJuXHs5zVhEFpVAkijypAUIAyuk4VpGH4nGerHjJuCUBfEX/ YdWjdQiAVs8HhMBaN6yx1wUVFA== X-Google-Smtp-Source: ABdhPJwTSy8utW/2tkKuyrp9C+v/oOeBfXba5hOXE2jeTV6TA+QUrzNWeudltwLX7iuBk7FrTKtagQ== X-Received: by 2002:a17:902:8493:b029:11a:faa6:5bf6 with SMTP id c19-20020a1709028493b029011afaa65bf6mr5777276plo.42.1624037901475; Fri, 18 Jun 2021 10:38:21 -0700 (PDT) Received: from ?IPv6:2603:300b:6:5100:65b4:c20:23f8:202e? ([2603:300b:6:5100:65b4:c20:23f8:202e]) by smtp.gmail.com with ESMTPSA id w2sm8498328pjq.5.2021.06.18.10.38.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jun 2021 10:38:20 -0700 (PDT) From: Warner Losh Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_7F3B6E86-AF9B-4B29-9A5F-96E9AF7B76E6"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: git: 4c0bc591466f - main - man9: add hz(9) and hardclock(9) Date: Fri, 18 Jun 2021 11:38:18 -0600 In-Reply-To: Cc: Eugene Grosbein , Warner Losh , "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" To: John Baldwin References: <202106181443.15IEhn4t010735@gitrepo.freebsd.org> <10df4ab6-bee0-58f5-7d42-92850d526e01@FreeBSD.org> <7c4c7acc-1fe4-28e4-4e1c-c08912eb0f99@grosbein.net> X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4G65k70VSdz53Gn X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2021 17:38:23 -0000 --Apple-Mail=_7F3B6E86-AF9B-4B29-9A5F-96E9AF7B76E6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jun 18, 2021, at 10:49 AM, John Baldwin wrote: >=20 > On 6/18/21 8:32 AM, Eugene Grosbein wrote: >> 18.06.2021 22:18, John Baldwin wrote: >>> OTOH, it's >>> also true that there's no real reason for anything outside of the = actual timer >>> code to use stathz (or even profhz) unlike 'hz' which is still used = to set >>> timeout tick values. >> Not agreed: how do I get reliable per-CPU load stats in userland = without sysctl kern.cp_times >> that exports incrementing raw "stathz-tick" counters? I need them to = draw per-CPU graphs. >=20 > Hmm, I guess userland needs the resolution of the values in the = sysctls, yes. > To be clear, I was not at all saying that cp_times should be removed, = only that > very little code in the kernel needs to use the literal C symbol = 'stathz' compared > to the C symbol 'hz=E2=80=99. There is some code, so I=E2=80=99ll leave it in the man page, but remove = the deprecated comment. I=E2=80=99ve told jhb@ this already, but I=E2=80=99ve started = https://reviews.freebsd.org/D30815 to fix things. Warner --Apple-Mail=_7F3B6E86-AF9B-4B29-9A5F-96E9AF7B76E6 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIzBAEBCgAdFiEEIDX4lLAKo898zeG3bBzRKH2wEQAFAmDM2goACgkQbBzRKH2w EQCdsQ//WTwkB7aCzMgOH1IZIpZ/416QkKWmq1C9seRnNBrB5c0PdFlpaPtEqRCx rZklA58HtL+meWvb9chrBH1CK3+LHDATPc1LeiVnjYAlci7rKqtQfUo7TFhwrEaH l7x/S/t1Rj+i1DcgYITY8DdVhoT0ZlAMW82jXcgrO1DxWlkaEmCDkt8sN8wZmVzb Cf8Z+VtdRzV9CwSYyObZiluG51kSW/IhJXl6eLEAPkMEWEFdDTxxGbMk++AWhu+v APkSFyFrAm1+giXHe+GUPn7bl/dZj0kkf4sXgugkznA4CFMJeEOcKaguNF+0NaPo 6B4gz7EkyeTRpR5HnxGl61zDZ7scgzXqI9BTu9C4JT/2AnpZBo+pogKvyZXnuuPP tqdOAGA/yrNJwrqj/dmrQ9FE7dZ20UWLLcOe239mwfV44rcE/prixoVvD7DBlmLc GpdGiyHsVES3wFNcb1IBLmvknF6u3OI765sh+1bCAtsszg1CjxP34lP8KkLa11DT 8onTdKyapjEpY/K8YByot8GVQJ8W+wy+wcYogvCmP0SCMGw14RvJDCGfXdtkBlSu Hm/1nsTkpvY1HqG8+Aoufb4wcUZHG+uV55NrJ2InBiTcThb9LJ/VmhxFdN4MJuxj NA/XZWP3/sA9IiX64LfiXy8RveDjKKPAF1SYc3SXCG8LaS8tfDM= =IDbK -----END PGP SIGNATURE----- --Apple-Mail=_7F3B6E86-AF9B-4B29-9A5F-96E9AF7B76E6--