From owner-freebsd-current@freebsd.org Tue Aug 28 14:48:49 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0C5F108EAE2 for ; Tue, 28 Aug 2018 14:48:49 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6424C874C0; Tue, 28 Aug 2018 14:48:49 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-pg1-x535.google.com with SMTP id z4-v6so863996pgv.2; Tue, 28 Aug 2018 07:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0nQ5i7xSJEWXxr/9i3jzlKAknjKQoqO2MkL8WHATyGY=; b=CZtbhdHLYCYJkAJjIUblEAjd2JElV9JUDPuP/Fk4yBs+uEl79trvkE1GI9YCLgLQsS mfz4ZTlebWu5W8yMMlYKOxrJjaOusonv+eYGTj3ECBewLxPDgJdkOn4ir8+GA5+tZ6vb P9LzIsG8Htp7BVLIcSIqjJ/LKFHeoYpe+EK2fKCdx1KaJ9H1fiQWEDZV1jSwThYHNSIW YGGoBJJqqVFF90n05MxjoHWTKizFJGinRdixn4dJxfQr0uuS1k1yh2ZEpLyiXSh12qEl 4nSkG3eMMTUae0yVlC/oGPiI6Lwv0CiIijOud64yEh7BWgkMpPsatPmeCAE1u3xnH9YU klCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=0nQ5i7xSJEWXxr/9i3jzlKAknjKQoqO2MkL8WHATyGY=; b=GjC4O2LGU4f6VyW2TkGXMNGCcL2sokqdksCGHIQLeodvaJNGs8xE6EVbnSg4+gpnJb /OwKz3Ii+WW3eS3VGxSDgpxxcdIGGxLQC2ioZuBwUYNxqdzzpg68auIPN1Qe3NSlndKa os1vhv7EMeB04zLxC5TooL27ZTgxvtzlSnOqA2mE/GvatVyYcWgjf4C71QjJ7pmDwKfz ounqfO0CWylsCx4Mw76QLScJHSqfjPNYVzTy9KQ2xRsvsoJXVMKmz+xuMgU6a9IpLz8P qtfs1gVsFy+zWJz1UzwzxZFg9ofccmxJ+kn8g3RIvyQEOOz9LIEu/PAYTnZe5+tFjaDO txBw== X-Gm-Message-State: APzg51AY8iTO5ccB8cF+RbOw3dK1WlpfTrDHOD8bRBGbyWpbP+K4EDJQ aJUZfQosIEBJflKggcqOXdWGJztS X-Google-Smtp-Source: ANB0VdZG2Fd7d4VvHMxLAdQ3MEeugL2LCFhJTAvgBU3u+ylJ0OgJxmtVkM00FeATmArDwm09fNZgTA== X-Received: by 2002:a63:4757:: with SMTP id w23-v6mr1946788pgk.140.1535467728002; Tue, 28 Aug 2018 07:48:48 -0700 (PDT) Received: from raichu (toroon0560w-lp130-09-70-52-224-239.dsl.bell.ca. [70.52.224.239]) by smtp.gmail.com with ESMTPSA id e73-v6sm2301920pfb.153.2018.08.28.07.48.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Aug 2018 07:48:47 -0700 (PDT) Sender: Mark Johnston Date: Tue, 28 Aug 2018 10:48:42 -0400 From: Mark Johnston To: Allan Jude Cc: freebsd-current@freebsd.org Subject: Re: old top and new -current: missing arcstat sysctl Message-ID: <20180828144842.GA29917@raichu> References: <20180828084015.Horde.JUeG828X_SDlJjeJdfmH7pV@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2018 14:48:50 -0000 On Tue, Aug 28, 2018 at 10:25:39AM -0400, Allan Jude wrote: > On 2018-08-28 02:40, Alexander Leidinger wrote: > > Hi, > > > > top reports missing sysctl kstat.zfs.misc.arcstats.other_size for > > 12.0-alpha3 with a top from an old-ish -current. > > > > Is/will this be handled via a compat-11 sysctl (my kernel is without > > compat-xx), or did this slip through? > > > > Bye, > > Alexander. > > > > That is not something that a compat-xx package can handle. s/package/kernel option/? > That arcstat was broken up into 3 individual stats, which the > 12.0-alpha3 version of top will sum together for you. > > I don't think we've had compat shims like this for previous versions of > top, I recall having similar issues when the 'laundry' counter was > introduced. IIRC that would have been the inverted case of running a newer top(1) with an older kernel lacking the v_laundry_pages sysctl. In general I'd expect us to support running an older top(1) with newer kernels if we don't have to bend over backwards to provide compatibility.