Re: [PATCH v2 2/2] locking: mutex: Fix proxy-exec potentially deactivating tasks marked TASK_RUNNING

From: kernel test robot

Date: Tue May 12 2026 - 14:24:05 EST


Hi John,

kernel test robot noticed the following build errors:

[auto build test ERROR on tip/sched/core]
[also build test ERROR on tip/locking/core tip/master next-20260508]
[cannot apply to tip/auto-latest linus/master v6.16-rc1]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/John-Stultz/sched-proxy-exec-Close-race-causing-workqueue-work-being-delayed/20260504-045026
base: tip/sched/core
patch link: https://lore.kernel.org/r/20260430215103.2978955-3-jstultz%40google.com
patch subject: [PATCH v2 2/2] locking: mutex: Fix proxy-exec potentially deactivating tasks marked TASK_RUNNING
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260512/202605122052.5KWIaVj6-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260512/202605122052.5KWIaVj6-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605122052.5KWIaVj6-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

In file included from lib/test_bitops.c:10:
In file included from include/linux/module.h:13:
In file included from include/linux/stat.h:19:
In file included from include/linux/time.h:60:
In file included from include/linux/time32.h:13:
In file included from include/linux/timex.h:67:
In file included from arch/x86/include/asm/timex.h:6:
In file included from arch/x86/include/asm/tsc.h:11:
In file included from arch/x86/include/asm/msr.h:16:
In file included from include/linux/percpu.h:12:
>> include/linux/sched.h:2209:10: error: expression which evaluates to zero treated as a null pointer constant of type 'struct mutex *' [-Werror,-Wnon-literal-null-conversion]
2209 | return false;
| ^~~~~
1 error generated.


vim +2209 include/linux/sched.h

2205
2206 static inline struct mutex *task_is_blocked_on(struct task_struct *p)
2207 {
2208 if (!sched_proxy_exec())
> 2209 return false;
2210 return (struct mutex *)((unsigned long)p->blocked_on & PROXY_BLOCKED_LATCH);
2211 }
2212

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki