From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34D79C2D0A8 for ; Sat, 26 Sep 2020 16:22:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BE54222207 for ; Sat, 26 Sep 2020 16:22:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Isi2jLYX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729817AbgIZQWt (ORCPT ); Sat, 26 Sep 2020 12:22:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729363AbgIZQWt (ORCPT ); Sat, 26 Sep 2020 12:22:49 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39297C0613CE for ; Sat, 26 Sep 2020 09:22:49 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id x22so5785612pfo.12 for ; Sat, 26 Sep 2020 09:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=56nCuRUirvF7dXeR3ek+2dKjHsN+uDHepkMc5x/GUbI=; b=Isi2jLYXO6Dg8qyvVuPVHRyByy5BJbI/6gQ7oyreYCwo3hF2HZWbgFd+OR7hRce1fZ 2U/ZQbjFTvRuIeCm/BU9DG+iLYnBeO1MwXQ0sQdx/BPZPYKSow2g5lkv8xfIdoh/h6P+ yYMV58dnKIat08n/3yoDRx3fvWRtDiWeJp814= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=56nCuRUirvF7dXeR3ek+2dKjHsN+uDHepkMc5x/GUbI=; b=VAiNQESMPRfroloPZCe5TuxNSmIw23WkHE4DHSdGzEjGjEkkAyz+fdEY2QcClxJN2T ZEmc4eXT2lO0PgleJ8v2AQ8R/cOGw9SPPHbFUHiHXlw8gAOXgSODN26Lin7caN27k0qO WPjiZSEgpKw/7rnJ3Ct2q423km7YfmGIZeO8gXtEphVTAthKgm543zd4+vQDGvrfU28P ogoZo4RK3BZGfEupsD88WfYD1gPD1OrlkNdx/TEWBrNV5HNaftj3rE67upfhmHhUMZRV bRmcEXsxQUSbZh9F8gNd03tbWenEGDsgqNprzclTuSep3JFp5WQtPc1IpIaFVfTz5su+ C1Lg== X-Gm-Message-State: AOAM5324LVuyumKW11D1RgNLmpNJ7myjJ9puJGFkZjJuuX8ztOf0/dQu GKh0H0ApfQ0phtzOwW46zgx26g== X-Google-Smtp-Source: ABdhPJz7HHjVeWBhAtMxjtcOjPKebh0qtmEHXOfr7MHXU6sFu9+pz+tyh0OJt8n2B09hRbUf6d5KgA== X-Received: by 2002:a65:6883:: with SMTP id e3mr585170pgt.250.1601137368721; Sat, 26 Sep 2020 09:22:48 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id g4sm5156438pgj.15.2020.09.26.09.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Sep 2020 09:22:47 -0700 (PDT) Date: Sat, 26 Sep 2020 09:22:46 -0700 From: Kees Cook To: Shuah Khan Cc: corbet@lwn.net, gregkh@linuxfoundation.org, shuah@kernel.org, rafael@kernel.org, johannes@sipsolutions.net, lenb@kernel.org, james.morse@arm.com, tony.luck@intel.com, bp@alien8.de, arve@android.com, tkjos@android.com, maco@android.com, joel@joelfernandes.org, christian@brauner.io, hridya@google.com, surenb@google.com, minyard@acm.org, arnd@arndb.de, mchehab@kernel.org, rric@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-acpi@vger.kernel.org, devel@driverdev.osuosl.org, openipmi-developer@lists.sourceforge.net, linux-edac@vger.kernel.org Subject: Re: [PATCH 00/11] Introduce Simple atomic and non-atomic counters Message-ID: <202009260920.DC9C2743@keescook> 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-edac@vger.kernel.org On Fri, Sep 25, 2020 at 05:47:14PM -0600, Shuah Khan wrote: > This patch series is a result of discussion at the refcount_t BOF > the Linux Plumbers Conference. In this discussion, we identified > a need for looking closely and investigating atomic_t usages in > the kernel when it is used strictly as a counter without it > controlling object lifetimes and state changes. BTW, I realized the KSPP issue tracker hadn't broken this task out of the refcount_t conversion issue[1] into a separate issue, so I've created it now: https://github.com/KSPP/linux/issues/106 -Kees [1] https://github.com/KSPP/linux/issues/104 -- Kees Cook