Re: [PATCH v2 00/11] Introduce Simple atomic counters

2020-10-07 Thread Kees Cook
On Tue, Oct 06, 2020 at 02:44:31PM -0600, Shuah Khan wrote: > -- Addressed Kees's and Joel's comments: >1. Removed dec_return interfaces (Patch 1/11) >2. Removed counter_simple interfaces to be added later with changes > to drivers that use them (if any) (Patch 1/11) >3. Comment

[PATCH v2 00/11] Introduce Simple atomic counters

2020-10-06 Thread Shuah Khan
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 chang