lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202503260646.lrUqD3j5-lkp@intel.com>
Date: Wed, 26 Mar 2025 06:20:41 +0800
From: kernel test robot <lkp@...el.com>
To: Oleg Nesterov <oleg@...hat.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Ingo Molnar <mingo@...nel.org>,
	Thomas Gleixner <tglx@...utronix.de>, Phil Auld <pauld@...hat.com>
Subject: kernel/sched/isolation.c:50: undefined reference to
 `sched_numa_find_closest'

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ