Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

unwind: Clarify calling context

The get_cookie() function hard relies on IRQs being disabled, but this
isn't immediately obvious when reading the function.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://patch.msgid.link/20250924080119.122507632@infradead.org

+2
+2
kernel/unwind/deferred.c
··· 79 79 { 80 80 u32 cnt = 1; 81 81 82 + lockdep_assert_irqs_disabled(); 83 + 82 84 if (info->id.cpu) 83 85 return info->id.id; 84 86