mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT pull] core/debugobjects for v6.11-rc1
@ 2024-07-14 20:50 Thomas Gleixner
  2024-07-14 20:50 ` [GIT pull] irq/core " Thomas Gleixner
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Thomas Gleixner @ 2024-07-14 20:50 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, x86

Linus,

please pull the latest core/debugobjects branch from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-debugobjects-2024-07-14

up to:  5b5baba62222: debugobjects: Annotate racy debug variables


A single update for debugobjects to annotate all intentionally racy global
debug variables so that KCSAN ignores them.

Thanks,

	tglx

------------------>
Breno Leitao (1):
      debugobjects: Annotate racy debug variables


 lib/debugobjects.c | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/lib/debugobjects.c b/lib/debugobjects.c
index fb12a9bacd2f..7cea91e193a8 100644
--- a/lib/debugobjects.c
+++ b/lib/debugobjects.c
@@ -78,16 +78,17 @@ static bool			obj_freeing;
 /* The number of objs on the global free list */
 static int			obj_nr_tofree;
 
-static int			debug_objects_maxchain __read_mostly;
-static int __maybe_unused	debug_objects_maxchecked __read_mostly;
-static int			debug_objects_fixups __read_mostly;
-static int			debug_objects_warnings __read_mostly;
-static int			debug_objects_enabled __read_mostly
-				= CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT;
-static int			debug_objects_pool_size __read_mostly
-				= ODEBUG_POOL_SIZE;
-static int			debug_objects_pool_min_level __read_mostly
-				= ODEBUG_POOL_MIN_LEVEL;
+static int __data_racy			debug_objects_maxchain __read_mostly;
+static int __data_racy __maybe_unused	debug_objects_maxchecked __read_mostly;
+static int __data_racy			debug_objects_fixups __read_mostly;
+static int __data_racy			debug_objects_warnings __read_mostly;
+static int __data_racy			debug_objects_enabled __read_mostly
+					= CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT;
+static int __data_racy			debug_objects_pool_size __read_mostly
+					= ODEBUG_POOL_SIZE;
+static int __data_racy			debug_objects_pool_min_level __read_mostly
+					= ODEBUG_POOL_MIN_LEVEL;
+
 static const struct debug_obj_descr *descr_test  __read_mostly;
 static struct kmem_cache	*obj_cache __ro_after_init;
 


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-07-15 23:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-14 20:50 [GIT pull] core/debugobjects for v6.11-rc1 Thomas Gleixner
2024-07-14 20:50 ` [GIT pull] irq/core " Thomas Gleixner
2024-07-15 11:27   ` Johan Hovold
2024-07-15 12:47     ` Thomas Gleixner
2024-07-14 20:50 ` [GIT pull] smp/core " Thomas Gleixner
2024-07-15 23:56   ` pr-tracker-bot
2024-07-14 20:50 ` [GIT pull] timers/core " Thomas Gleixner
2024-07-15 23:56   ` pr-tracker-bot
2024-07-15 23:56 ` [GIT pull] core/debugobjects " pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®