Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp77876pxb; Tue, 10 Nov 2020 20:36:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhgbqZLBkUq9r/5Z4I/6X6rSrKR4VCVz5Nu9ax7/ShkqPi5bKc8XTAxZoonVw/PjWKyBTd X-Received: by 2002:a17:906:c288:: with SMTP id r8mr22924238ejz.35.1605069378192; Tue, 10 Nov 2020 20:36:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605069378; cv=none; d=google.com; s=arc-20160816; b=A7MKk3wqkeM6DzkyDK4vhNtB7xs7Em4z+kwNfCL60kQi4KBCJzc4bUIYbiL7hlfou6 iGHlEJA1nl3Lrcd8aT856ltnbnVhGjVRlWJEj6LrXpiueLLt5c9Re5inz05+XhAZjOH/ lP2YbQ9jZab4zN+4f3zrvaeyXSp8/rN1cdyC6bpRlaUknFslgYOGMMCOIg7mOyHnhHsV DYHdEHRtGbQdB/eLK5aPBgUaDOKQDvEa/pldbveRemuga3Ru1eXYyV6lZr3D4piRXw+u DMe24Zf/kpnzBLNnzq86IJA9pJILPkPEhTOaqCxecZHnipgYOy1QAUBYrWYiJSDiF6Gm AD1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gL0OocahXZn8ZQNF8szmGW51uY79EBzlZ34GhrWeBso=; b=pz9nphYmv4uIs5PP26Igd5+QlxoZKS+2SUY+qwo2LHCIcbDTee4XBa4JHfdHBxwDg/ x+4YeCHPCrl3JNy13iQg/rw7FV73bYNlU9Zjxp8XUYsHZHhBrh7CSFfhy11XWbD0y0Lc A+FEyl12WWf8vn/Ii35E6OYtmnF4uQ72+o63enajCyr+G7BiQ3aR1NToaBn2ih3q/9kF xOiIlDS7skizuazziaqwKmalC0RQrQCExi9r7SvpUGRmAEANEG5eSkuFhVZ8J1pDnABn uCmeEqrd1b9N/Lvn+LaLYhVb73uoizJnuihkpLl0xHc/Hy6xIlZQo1LVcw0cXQl1X0B/ TcNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=oDeBdofT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k1si544218ejv.576.2020.11.10.20.35.40; Tue, 10 Nov 2020 20:36:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=oDeBdofT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725903AbgKKEdf (ORCPT + 99 others); Tue, 10 Nov 2020 23:33:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbgKKEde (ORCPT ); Tue, 10 Nov 2020 23:33:34 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE02FC0613D1; Tue, 10 Nov 2020 20:33:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=gL0OocahXZn8ZQNF8szmGW51uY79EBzlZ34GhrWeBso=; b=oDeBdofTe937SyWQ5KS04zcvqC lgvZ1G91Fpn0+Q6hWzn8iz4pOCTvXSHpD6P1QhX5Qd04Kt1Qw+XpMngVvHfktQNVQ1ulA67YiL7nL tA8aihrql/H2AMkAyYWzWFIN9Ce0745Pa94PaKzEiQEtKHdWkthYtwOI+SQpKIJw6ptG47vbEq7Sm XbhcamxT5yKVkB0cRiWCzjhuX2LfopicPBECLbWzvfoBpL8c7A/pYE1TRlavFekqmDsyuYQ9Lmaqv TacYawpzSIaJXXew8hPtbksnGSLMeAoHskMPJw9V8IhREGECwGEFySLXGWxjJ//+BgXGebA+WR5kI gAImvbZw==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kchoe-0002CB-P0; Wed, 11 Nov 2020 04:33:04 +0000 Date: Wed, 11 Nov 2020 04:33:04 +0000 From: Matthew Wilcox To: Shuah Khan Cc: corbet@lwn.net, keescook@chromium.org, gregkh@linuxfoundation.org, peterz@infradead.org, rafael@kernel.org, lenb@kernel.org, james.morse@arm.com, tony.luck@intel.com, bp@alien8.de, minyard@acm.org, arnd@arndb.de, mchehab@kernel.org, rric@kernel.org, valentina.manea.m@gmail.com, shuah@kernel.org, zohar@linux.ibm.com, dmitry.kasatkin@gmail.com, jmorris@namei.org, serge@hallyn.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-acpi@vger.kernel.org, openipmi-developer@lists.sourceforge.net, linux-edac@vger.kernel.org, linux-usb@vger.kernel.org, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [PATCH 00/13] Introduce seqnum_ops Message-ID: <20201111043304.GS17076@casper.infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 10, 2020 at 12:53:26PM -0700, Shuah Khan wrote: > There are a number of atomic_t usages in the kernel where atomic_t api > is used strictly for counting sequence numbers and other statistical > counters and not for managing object lifetime. We already have something in Linux called a sequence counter, and it's different from this. ID counter? instance number? monotonic_t? stat_t?