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=-11.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,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 8CEC3C2D0A8 for ; Mon, 28 Sep 2020 23:19:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 59B962076B for ; Mon, 28 Sep 2020 23:19:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601335157; bh=fXRc5gnJc5klk8pK3sLd+D64kiJ2HHZUTjfIzyUOsys=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-ID:From; b=YSEUXBLYoN3Rkenp8RmNqP8sqnDBZGANlfl1i/QbCc0AHwZkzZ7i2IYsmq0ujvSD+ PcEEnsC0ei3wziWzpvTYuxgv5ZoJDM/G2qYdv3m/MKgVSk8mIvWtetzcgV7pihVWa3 0oj5LQV7exmdF6OEnWqxTn5Obi6rUQhLkDTW0QRw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727006AbgI1XTM (ORCPT ); Mon, 28 Sep 2020 19:19:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726962AbgI1XSm (ORCPT ); Mon, 28 Sep 2020 19:18:42 -0400 Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABD2FC0613B4 for ; Mon, 28 Sep 2020 15:42:49 -0700 (PDT) Received: by mail-il1-x144.google.com with SMTP id e5so30736ils.10 for ; Mon, 28 Sep 2020 15:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lfWeOnITWCeijLSuxzxiSIPC5xTsdC1wKnU7B3ZC5Lk=; b=beQywzattpQ6h9VxrWUUjSXbW2NzdQ7tN01P6Fxu3w0DElSH99yNXq/oeDtcSOP/9X EENXteBPokqZCQ4iUMEdnei6q+cCq5jNGrbY/ShMUDDnZsK5zrAkesLqvzbzRHGHUd2D ZDoxf29bX/+HC/gfcdQn6A5JV5Bg+hGw1IFG0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lfWeOnITWCeijLSuxzxiSIPC5xTsdC1wKnU7B3ZC5Lk=; b=bYBjTckJIeIWla3UNTIBIW5Cj9r67u7eAA3rnpRBw9MOOszreSDf4Ta9EKduF0bRKT LCCOri2tgNsYWD7HmYzIbgcdDLRLFgoRFTBVgg9bQUht7SOPSwM0r6uvzB95N+OjiG6p AgBhXMkm9HJciTTqiL/ms2XC9hGaocrgqhTrm0OLvfkSVo/M+bTKmJl01UgyLh0Z0tol /41K6O5np0ibRhTeZoJjLlxxJQC5SnQ2ubNhtBkHTapVOdPo/TxbifIzO0Odpk2uLfYh 2IzhfB/WReOb3e97EIxZb0mQE355di2ds7ogiaCDT+KI8zggXjUgbqZDOMW471AlEBPV 7YLw== X-Gm-Message-State: AOAM531MzzQz3cLI8j4kwc8vFh4noBH2n6QdVq6k+FbboKSz6hLF/uJS G9kzzAJg0DmRuFV5pRkJi8a1og== X-Google-Smtp-Source: ABdhPJwo+pvtsIEQwf41bcDHTqwQ2dD5eUFFFgp4elRZ673xZA4id8e/WXiXlaCwN8OjTLklnmPUJQ== X-Received: by 2002:a92:8591:: with SMTP id f139mr533509ilh.164.1601332969021; Mon, 28 Sep 2020 15:42:49 -0700 (PDT) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id l9sm1317402ilf.65.2020.09.28.15.42.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Sep 2020 15:42:48 -0700 (PDT) Subject: Re: [PATCH 00/11] Introduce Simple atomic and non-atomic counters To: Kees Cook 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, Shuah Khan References: <202009260920.DC9C2743@keescook> From: Shuah Khan Message-ID: <1aeccb4f-df7e-60bf-1d70-dfcff5bb6f87@linuxfoundation.org> Date: Mon, 28 Sep 2020 16:42:46 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <202009260920.DC9C2743@keescook> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On 9/26/20 10:22 AM, Kees Cook wrote: > 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 > Cool. Thanks. -- Shuah