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.

Merge tag 'core-debugobjects-2025-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull debugobjects update from Thomas Gleixner:
"Two small updates for debugobjects:

- Allow pool refill on RT enabled kernels before the scheduler is up
and running to prevent pool exhaustion

- Correct the lockdep override to prevent false positives"

* tag 'core-debugobjects-2025-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
debugobjects: Use LD_WAIT_CONFIG instead of LD_WAIT_SLEEP
debugobjects: Allow to refill the pool before SYSTEM_SCHEDULING

+3 -3
+3 -3
lib/debugobjects.c
··· 714 714 * raw_spinlock_t are basically the same type and this lock-type 715 715 * inversion works just fine. 716 716 */ 717 - if (!IS_ENABLED(CONFIG_PREEMPT_RT) || preemptible()) { 717 + if (!IS_ENABLED(CONFIG_PREEMPT_RT) || preemptible() || system_state < SYSTEM_SCHEDULING) { 718 718 /* 719 719 * Annotate away the spinlock_t inside raw_spinlock_t warning 720 - * by temporarily raising the wait-type to WAIT_SLEEP, matching 720 + * by temporarily raising the wait-type to LD_WAIT_CONFIG, matching 721 721 * the preemptible() condition above. 722 722 */ 723 - static DEFINE_WAIT_OVERRIDE_MAP(fill_pool_map, LD_WAIT_SLEEP); 723 + static DEFINE_WAIT_OVERRIDE_MAP(fill_pool_map, LD_WAIT_CONFIG); 724 724 lock_map_acquire_try(&fill_pool_map); 725 725 fill_pool(); 726 726 lock_map_release(&fill_pool_map);