Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 021A13D393 for ; Sat, 10 Aug 2024 23:44:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723333452; cv=none; b=Qvfi+dY17/OKozRhnx7v5aqr8Phxwb6o+X5yF6GMYjbUNmn1cSe2CCV2ro95D6ZYHzgFTDG/XX6/ZEgkCOp/lpOMjeuuYQoCDpryv+ZH1KQr4Kr7yg9kAK8e9bUkGebvYprR+Z3lipNperq0iPEYsWQrBDwy9JnZEJS/sX3376U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723333452; c=relaxed/simple; bh=L25SzgAQYiZ/hB6P4cqF/JZe/qtjyh+hp3DbFH4f3js=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=cSiM1U7FM/7qT3pWB/e/kFzbakXpNBncXuzX0VBl9b4EYrob+Y33Af9+W7bqgjV2AG0sfNUfcj+QA5t6UPme04uDjELw/PPFkat1gMWFs+BNF6qei5IaVixcGTFOhSJ07139xNJzxRa4x31spBSNlvuwhp1Rbh8RV1nKSXTEE/Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ZWQ4K4Mx; arc=none smtp.client-ip=198.175.65.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ZWQ4K4Mx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723333451; x=1754869451; h=date:from:to:cc:subject:message-id:mime-version; bh=L25SzgAQYiZ/hB6P4cqF/JZe/qtjyh+hp3DbFH4f3js=; b=ZWQ4K4Mxw17yM68kbLRUAaJu1z7uvhf+apd2BvSadkVWIUbIpHjuGBuA YR6H6W7GU7Ard7bTVS5Ug8N9KkEOeEkS1Kb+ptEbKVYZLjaAkqfo26KN3 FeqnJHeNrVsXKamDDoIgkJiNJGvpm47tqYi3it7iMbnw8n86vQtNDh6cu Uj5f8SSDrR/1naVb+PyMiathWqK/Ea6YP0iZfM9F6ba3ha117ZleWBR1s 0XtWNZa64sDUZ2jXz25iT9mEtYvFzkEMRO1qIUH5faXOuYtLIIAAyOdeb 1zShQbs1Lxt5tSYXtx9mEg1VKchCIfHvYH1fvMteFKy2bRfoH17lerAEv A==; X-CSE-ConnectionGUID: 02Jxss+lSUWRR2qyH0A+RQ== X-CSE-MsgGUID: LhwCkN75R/SPQCcHLBCS4Q== X-IronPort-AV: E=McAfee;i="6700,10204,11160"; a="21628783" X-IronPort-AV: E=Sophos;i="6.09,280,1716274800"; d="scan'208";a="21628783" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2024 16:44:10 -0700 X-CSE-ConnectionGUID: Mr80GZukScaJC9wiZiI0Xg== X-CSE-MsgGUID: x1XQli+UT9iy+C5TEhiB7Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,280,1716274800"; d="scan'208";a="58462307" Received: from unknown (HELO b6bf6c95bbab) ([10.239.97.151]) by orviesa007.jf.intel.com with ESMTP; 10 Aug 2024 16:44:09 -0700 Received: from kbuild by b6bf6c95bbab with local (Exim 4.96) (envelope-from ) id 1scvkk-000AOR-1w; Sat, 10 Aug 2024 23:44:06 +0000 Date: Sun, 11 Aug 2024 07:43:27 +0800 From: kernel test robot To: Kaiyang Zhao Cc: oe-kbuild-all@lists.linux.dev, Andrew Morton , Linux Memory Management List Subject: [akpm-mm:mm-unstable 216/222] mm/memory.c:5376:41: error: 'NUMA_HINT_FAULTS' undeclared Message-ID: <202408110708.gCHsUKRI-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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@intel.com/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@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 | Closes: https://lore.kernel.org/oe-kbuild-all/202408110708.gCHsUKRI-lkp@intel.com/ 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