Re: [PATCH v2] SLUB: Add support for per object memory policies

From: Christoph Lameter (Ampere)
Date: Thu Sep 12 2024 - 12:40:28 EST


On Sun, 8 Sep 2024, kernel test robot wrote:

> config: sparc64-randconfig-r121-20240907 (https://download.01.org/0day-ci/archive/20240908/202409080304.haF25cFZ-lkp@xxxxxxxxx/config)
> compiler: sparc64-linux-gcc (GCC) 14.1.0
> reproduce: (https://download.01.org/0day-ci/archive/20240908/202409080304.haF25cFZ-lkp@xxxxxxxxx/reproduce)

> sparse warnings: (new ones prefixed by >>)
> >> mm/slub.c:222:1: sparse: sparse: symbol 'strict_numa' was not declared. Should it be static?


Ummm.. This code declares strict_numa. Whats wrong with sparc64 / sparse ?

> vim +/strict_numa +222 mm/slub.c
>
> 220
> 221 #ifdef CONFIG_NUMA
> > 222 DEFINE_STATIC_KEY_FALSE(strict_numa);
> 223 #endif
> 224
>