Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3379641pxk; Mon, 28 Sep 2020 16:23:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwse+X70gK/UNMJXEj/fjdMSX52WJB4bhJRizexR3TTG1DWTkwoyYvF0jCWyV4J/c7kDKxE X-Received: by 2002:a17:906:86cd:: with SMTP id j13mr1079212ejy.5.1601335406618; Mon, 28 Sep 2020 16:23:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601335406; cv=none; d=google.com; s=arc-20160816; b=JsVRJcb7GipYroDbBoE2N+yEIt/0VL0AaIoraeR56tiUDrEPwktDp7vKSZm8tCsmnm 0P0BHNIwLUBYdZHCJPIFjc8Vumt4psmiadRSoLueUpEuMrMxFEAZiR8EVVOAH2ZGEkr4 X4mRm5gpD3otwtT/iyXm+mTmZc8z1m1cpzeriKkiWAliioAkYI6VslyD9OvsfqqhytfB fXs8DXGsJlE8mbCbPjulVzbFhCTNUp9iOQd/P6cRf3v4fzkWQf15d/AkQ2/fTlMIBASw NaUlrecLgPiLzSsW5KacuTpUtRA+wCUt197ZC54R+tIH7iJdPhoXTtM9Y9ibTMDWNYRr Q7tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=lfWeOnITWCeijLSuxzxiSIPC5xTsdC1wKnU7B3ZC5Lk=; b=Si4kSJimM9U3TMbd3pptMrz1vfyibx3Ry4/4I2xH+H4cGtcivrgkr9+zbZoZ39W0NT Uus2aTvV7on+8iMKY6HEmFsL2xvUxDs3jGWiyUJ8YRtbAXsqZZFqO9GsIO5YXoS5Euj2 TSm+7KYt/SxTojdLcPZ2VsxvYjMUpj0hPNWzzbBTo4f4CPnMsLoVVKzqicX+vQABCzPB 4hnOLEsn8Pd6rmrr6XCd/tmkp3Q6YNkBKTR1IPbuA8rUSIqV/kEVOjuqXGLtMeEhInaC uO6Q9fUsne/pDt514JrEULE1aVvRJcNPCbO7mz6+4BJWh1GKiacIM+kWVU2B0pGkSh0z v7nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=beQywzat; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx17si1569117edb.409.2020.09.28.16.22.54; Mon, 28 Sep 2020 16:23:26 -0700 (PDT) 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=@linuxfoundation.org header.s=google header.b=beQywzat; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726992AbgI1XTF (ORCPT + 99 others); Mon, 28 Sep 2020 19:19:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726984AbgI1XSm (ORCPT ); Mon, 28 Sep 2020 19:18:42 -0400 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AABCEC0613B3 for ; Mon, 28 Sep 2020 15:42:49 -0700 (PDT) Received: by mail-il1-x142.google.com with SMTP id f15so2977287ilj.2 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=svxEpPzxhDVEHsCsYY9kYRCuAvqtcOELvLx+v3RL6JoDznhamaJUyHyLoc/P7O8KcN hwd6/+2j4PAcCIJrf4g7OXVaa/zZpE7qIPBObHHd7coCWS+LBBe+fs42CcpuXgO5PwEX eCaPORfbxZ89HHj6nw/hVZHSubUdePs4UnI/b5Rvk3UXBWReh3JsAk0aVUaQVqixsyCC XhOVcFMMhlT1jVIwM6mE0EK3q9cwRxn8ZrV5c08kF/fj85iR1s8jqwjX4KPZj+u1VFw3 rSf8Dt1Vj92CTsSbl6FB6S05oLT7MWoo+Xm9z2+MFPaOeJ2Z9a0RweawNvD6qj+IPghM axYg== X-Gm-Message-State: AOAM531EEJ+DPPwFIwASMybb59uUGXj3YjpwJyRzFEXlJPr7ensuADYJ zKCFWOE4WNyNsbK0Xz8BEjr+qw== 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-kernel@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