[akpm-mm:mm-unstable 216/222] mm/memory.c:5376:41: error: 'NUMA_HINT_FAULTS' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   7d7894afcca68b40bfca49f4d1303167d224919e
commit: 24f8717a5d0bedc9664cf242b14a31c18f9351a6 [216/222] mm,memcg: provide per-cgroup counters for NUMA balancing operations
config: alpha-allnoconfig (https://download.01.org/0day-ci/archive/20240811/202408110708.gCHsUKRI-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240811/202408110708.gCHsUKRI-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/202408110708.gCHsUKRI-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   mm/memory.c: In function 'numa_migrate_prep':
>> mm/memory.c:5376:41: error: 'NUMA_HINT_FAULTS' undeclared (first use in this function)
    5376 |         count_memcg_folio_events(folio, NUMA_HINT_FAULTS, 1);
         |                                         ^~~~~~~~~~~~~~~~
   mm/memory.c:5376:41: note: each undeclared identifier is reported only once for each function it appears in


vim +/NUMA_HINT_FAULTS +5376 mm/memory.c

  5366	
  5367	int numa_migrate_prep(struct folio *folio, struct vm_fault *vmf,
  5368			      unsigned long addr, int page_nid, int *flags)
  5369	{
  5370		struct vm_area_struct *vma = vmf->vma;
  5371	
  5372		/* Record the current PID acceesing VMA */
  5373		vma_set_access_pid_bit(vma);
  5374	
  5375		count_vm_numa_event(NUMA_HINT_FAULTS);
> 5376		count_memcg_folio_events(folio, NUMA_HINT_FAULTS, 1);
  5377		if (page_nid == numa_node_id()) {
  5378			count_vm_numa_event(NUMA_HINT_FAULTS_LOCAL);
  5379			*flags |= TNF_FAULT_LOCAL;
  5380		}
  5381	
  5382		return mpol_misplaced(folio, vmf, addr);
  5383	}
  5384	

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux