[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230526205204.861311518@infradead.org>
Date: Fri, 26 May 2023 22:52:04 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: torvalds@...ux-foundation.org, keescook@...omium.org,
gregkh@...uxfoundation.org, pbonzini@...hat.com
Cc: linux-kernel@...r.kernel.org, ojeda@...nel.org,
ndesaulniers@...gle.com, peterz@...radead.org, mingo@...hat.com,
will@...nel.org, longman@...hat.com, boqun.feng@...il.com,
juri.lelli@...hat.com, vincent.guittot@...aro.org,
dietmar.eggemann@....com, rostedt@...dmis.org, bsegall@...gle.com,
mgorman@...e.de, bristot@...hat.com, vschneid@...hat.com,
paulmck@...nel.org, frederic@...nel.org, quic_neeraju@...cinc.com,
joel@...lfernandes.org, josh@...htriplett.org,
mathieu.desnoyers@...icios.com, jiangshanlai@...il.com,
rcu@...r.kernel.org, tj@...nel.org, tglx@...utronix.de
Subject: [PATCH v2 0/2] Lock and Pointer guards
By popular demand, a new and improved version :-)
New since -v1 ( https://lkml.kernel.org/r/20230526150549.250372621@infradead.org )
- much improved interface for lock guards: guard() and scoped () { }
as suggested by Linus.
- moved the ';' for the 'last' additional guard members into the definition
as suggested by Kees.
- put __cleanup in the right place with the suggested comment
as suggested by Kees and Miguel
- renamed the definition macros DEFINE_LOCK_GUARD_[012] to indicate
the number of arguments the lock function takes
- added comments to guards.h
- renamed pretty much all guard types
Again compile and boot tested x86_64-defconfig
Powered by blists - more mailing lists