linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kaiyang Zhao <kaiyang2@cs.cmu.edu>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [akpm-mm:mm-unstable 216/222] mm/memory.c:5376:34: error: use of undeclared identifier 'NUMA_HINT_FAULTS'
Date: Sun, 11 Aug 2024 07:23:04 +0800	[thread overview]
Message-ID: <202408110706.DZD0TOV3-lkp@intel.com> (raw)

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: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20240811/202408110706.DZD0TOV3-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240811/202408110706.DZD0TOV3-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/202408110706.DZD0TOV3-lkp@intel.com/

All errors (new ones prefixed by >>):

>> mm/memory.c:5376:34: error: use of undeclared identifier 'NUMA_HINT_FAULTS'
    5376 |         count_memcg_folio_events(folio, NUMA_HINT_FAULTS, 1);
         |                                         ^
   1 error generated.


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


                 reply	other threads:[~2024-08-10 23:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202408110706.DZD0TOV3-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=kaiyang2@cs.cmu.edu \
    --cc=linux-mm@kvack.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox