All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel/sched/isolation.c:50: undefined reference to `sched_numa_find_closest'
@ 2025-03-25 22:20 kernel test robot
  2025-03-26  9:35 ` Oleg Nesterov
  2025-03-30 13:49 ` [PATCH] sched/isolation: forbid CONFIG_CPU_ISOLATION without CONFIG_SMP Oleg Nesterov
  0 siblings, 2 replies; 6+ messages in thread
From: kernel test robot @ 2025-03-25 22:20 UTC (permalink / raw)
  To: Oleg Nesterov
  Cc: oe-kbuild-all, linux-kernel, Ingo Molnar, Thomas Gleixner,
	Phil Auld

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   2d09a9449ecd9a2b9fdac62408c12ee20b6307d2
commit: 5097cbcb38e6e0d2627c9dde1985e91d2c9f880e sched/isolation: Prevent boot crash when the boot CPU is nohz_full
date:   11 months ago
config: sh-randconfig-r132-20250326 (https://download.01.org/0day-ci/archive/20250326/202503260646.lrUqD3j5-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 10.5.0
reproduce: (https://download.01.org/0day-ci/archive/20250326/202503260646.lrUqD3j5-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503260646.lrUqD3j5-lkp@intel.com/

All errors (new ones prefixed by >>):

   sh4-linux-ld: kernel/sched/build_utility.o: in function `housekeeping_any_cpu':
>> kernel/sched/isolation.c:50: undefined reference to `sched_numa_find_closest'


vim +50 kernel/sched/isolation.c

    38	
    39	int housekeeping_any_cpu(enum hk_type type)
    40	{
    41		int cpu;
    42	
    43		if (static_branch_unlikely(&housekeeping_overridden)) {
    44			if (housekeeping.flags & BIT(type)) {
    45				cpu = sched_numa_find_closest(housekeeping.cpumasks[type], smp_processor_id());
    46				if (cpu < nr_cpu_ids)
    47					return cpu;
    48	
    49				cpu = cpumask_any_and(housekeeping.cpumasks[type], cpu_online_mask);
  > 50				if (likely(cpu < nr_cpu_ids))
    51					return cpu;
    52				/*
    53				 * Unless we have another problem this can only happen
    54				 * at boot time before start_secondary() brings the 1st
    55				 * housekeeping CPU up.
    56				 */
    57				WARN_ON_ONCE(system_state == SYSTEM_RUNNING ||
    58					     type != HK_TYPE_TIMER);
    59			}
    60		}
    61		return smp_processor_id();
    62	}
    63	EXPORT_SYMBOL_GPL(housekeeping_any_cpu);
    64	

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

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

end of thread, other threads:[~2025-04-03 11:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-25 22:20 kernel/sched/isolation.c:50: undefined reference to `sched_numa_find_closest' kernel test robot
2025-03-26  9:35 ` Oleg Nesterov
2025-03-27 21:35   ` Ingo Molnar
2025-03-30 13:49 ` [PATCH] sched/isolation: forbid CONFIG_CPU_ISOLATION without CONFIG_SMP Oleg Nesterov
2025-03-30 19:23   ` [tip: sched/urgent] sched/isolation: Make CONFIG_CPU_ISOLATION depend on CONFIG_SMP tip-bot2 for Oleg Nesterov
2025-04-03 11:26   ` tip-bot2 for Oleg Nesterov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.