From: kernel test robot <lkp@intel.com>
To: David Hildenbrand <david@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [davidhildenbrand:nth_page 13/34] mm/hugetlb.c:3250:28: error: use of undeclared identifier 'pfn'
Date: Sat, 23 Aug 2025 15:52:37 +0800 [thread overview]
Message-ID: <202508231549.LAQRn060-lkp@intel.com> (raw)
tree: https://github.com/davidhildenbrand/linux nth_page
head: 6604ef076c5814154b00afdb7ea9ce90fd598b08
commit: a81868b2ce05b94ec839ecbb2bb93376cf44c724 [13/34] mm/hugetlb: cleanup hugetlb_folio_init_tail_vmemmap()
config: i386-buildonly-randconfig-003-20250823 (https://download.01.org/0day-ci/archive/20250823/202508231549.LAQRn060-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250823/202508231549.LAQRn060-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/202508231549.LAQRn060-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/hugetlb.c:3250:28: error: use of undeclared identifier 'pfn'
3250 | __init_single_page(page, pfn, zone, nid);
| ^
1 error generated.
vim +/pfn +3250 mm/hugetlb.c
aa888a74977a8f2 Andi Kleen 2008-07-23 3232
fde1c4ecf91640e Usama Arif 2023-09-13 3233 /* Initialize [start_page:end_page_number] tail struct pages of a hugepage */
fde1c4ecf91640e Usama Arif 2023-09-13 3234 static void __init hugetlb_folio_init_tail_vmemmap(struct folio *folio,
fde1c4ecf91640e Usama Arif 2023-09-13 3235 unsigned long start_page_number,
fde1c4ecf91640e Usama Arif 2023-09-13 3236 unsigned long end_page_number)
fde1c4ecf91640e Usama Arif 2023-09-13 3237 {
fde1c4ecf91640e Usama Arif 2023-09-13 3238 enum zone_type zone = zone_idx(folio_zone(folio));
fde1c4ecf91640e Usama Arif 2023-09-13 3239 int nid = folio_nid(folio);
a81868b2ce05b94 David Hildenbrand 2025-08-07 3240 struct page *head_page = folio_page(folio, 0);
a81868b2ce05b94 David Hildenbrand 2025-08-07 3241 struct page *page = folio_page(folio, start_page_number);
a81868b2ce05b94 David Hildenbrand 2025-08-07 3242 unsigned long i;
fde1c4ecf91640e Usama Arif 2023-09-13 3243 int ret;
fde1c4ecf91640e Usama Arif 2023-09-13 3244
a81868b2ce05b94 David Hildenbrand 2025-08-07 3245 /*
a81868b2ce05b94 David Hildenbrand 2025-08-07 3246 * We mark all tail pages with memblock_reserved_mark_noinit(),
a81868b2ce05b94 David Hildenbrand 2025-08-07 3247 * so these pages are completely uninitialized.
a81868b2ce05b94 David Hildenbrand 2025-08-07 3248 */
a81868b2ce05b94 David Hildenbrand 2025-08-07 3249 for (i = start_page_number; i < end_page_number; i++, page++) {
fde1c4ecf91640e Usama Arif 2023-09-13 @3250 __init_single_page(page, pfn, zone, nid);
a81868b2ce05b94 David Hildenbrand 2025-08-07 3251 prep_compound_tail(head_page, i);
a81868b2ce05b94 David Hildenbrand 2025-08-07 3252 set_page_count(page, 0);
fde1c4ecf91640e Usama Arif 2023-09-13 3253 }
fde1c4ecf91640e Usama Arif 2023-09-13 3254 }
fde1c4ecf91640e Usama Arif 2023-09-13 3255
:::::: The code at line 3250 was first introduced by commit
:::::: fde1c4ecf91640e5a95ec36b71ec2e8ec379ce40 mm: hugetlb: skip initialization of gigantic tail struct pages if freed by HVO
:::::: TO: Usama Arif <usama.arif@bytedance.com>
:::::: CC: Andrew Morton <akpm@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-08-23 7:53 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=202508231549.LAQRn060-lkp@intel.com \
--to=lkp@intel.com \
--cc=david@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.