RFC headers: Consolidate once/cond style macros
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | core: New macro to execute code only onceinclude/ | +26 | 0 replies | |
| 2/3 | core: Convert printk_once to use DO_ONCEinclude/ | +2 | 6 replies | |
| 3/3 | bug: Convert warn macros to use once and cond helpersinclude/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] headers: Consolidate once/cond style macros
So here is the patchses I had in some branches for a little while. Please double check especially the 3rd patch because it removes the use of .data.unlikely for WARN_ON_ONCE.
I'm not sure this section for the "done" state is something we also want for printk_once(). What do you think?
Thanks.
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
core/once
Thanks,
Frederic
---
Frederic Weisbecker (3):
core: New macro to execute code only once
core: Convert printk_once to use DO_ONCE
bug: Convert warn macros to use once and cond helpers
include/asm-generic/bug.h | 57 ++++++++++------------------------------------- include/linux/once.h | 26 +++++++++++++++++++++ include/linux/printk.h | 10 ++------- 3 files changed, 40 insertions(+), 53 deletions(-)