From: kernel test robot <lkp@intel.com>
To: Oscar Salvador <osalvador@suse.de>,
Andrew Morton <akpm@linux-foundation.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Muchun Song <muchun.song@linux.dev>,
David Hildenbrand <david@redhat.com>,
linux-kernel@vger.kernel.org, Vlastimil Babka <vbabka@suse.cz>,
Matthew Wilcox <willy@infradead.org>,
Oscar Salvador <osalvador@suse.de>
Subject: Re: [PATCH] mm, hugetlb: Reset mapping to TAIL_MAPPING before restoring vmemmap
Date: Wed, 16 Apr 2025 15:53:04 +0800 [thread overview]
Message-ID: <202504161522.S1qEFD4b-lkp@intel.com> (raw)
In-Reply-To: <20250415054705.370412-1-osalvador@suse.de>
Hi Oscar,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
url: https://github.com/intel-lab-lkp/linux/commits/Oscar-Salvador/mm-hugetlb-Reset-mapping-to-TAIL_MAPPING-before-restoring-vmemmap/20250415-134835
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20250415054705.370412-1-osalvador%40suse.de
patch subject: [PATCH] mm, hugetlb: Reset mapping to TAIL_MAPPING before restoring vmemmap
config: x86_64-buildonly-randconfig-006-20250416 (https://download.01.org/0day-ci/archive/20250416/202504161522.S1qEFD4b-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250416/202504161522.S1qEFD4b-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/202504161522.S1qEFD4b-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/hugetlb_vmemmap.c:506:2: error: call to undeclared function 'set_hugetlb_cgroup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
506 | set_hugetlb_cgroup(folio, TAIL_MAPPING);
| ^
1 error generated.
vim +/set_hugetlb_cgroup +506 mm/hugetlb_vmemmap.c
488
489 /**
490 * hugetlb_vmemmap_restore_folio - restore previously optimized (by
491 * hugetlb_vmemmap_optimize_folio()) vmemmap pages which
492 * will be reallocated and remapped.
493 * @h: struct hstate.
494 * @folio: the folio whose vmemmap pages will be restored.
495 *
496 * Return: %0 if @folio's vmemmap pages have been reallocated and remapped,
497 * negative error code otherwise.
498 */
499 int hugetlb_vmemmap_restore_folio(const struct hstate *h, struct folio *folio)
500 {
501 /*
502 * Before restoring vmemmap, make sure to reset mapping to TAIL_MAPPING,
503 * so tail pages that were reset will have the right thing after being
504 * restored, and the checks in free_tail_page_prepare() will pass.
505 */
> 506 set_hugetlb_cgroup(folio, TAIL_MAPPING);
507 return __hugetlb_vmemmap_restore_folio(h, folio, VMEMMAP_SYNCHRONIZE_RCU);
508 }
509
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-04-16 7:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-15 5:47 Oscar Salvador
2025-04-15 7:23 ` David Hildenbrand
2025-04-15 7:32 ` David Hildenbrand
2025-04-15 7:48 ` Muchun Song
2025-04-15 8:02 ` Oscar Salvador
2025-04-15 8:36 ` David Hildenbrand
2025-04-16 7:21 ` kernel test robot
2025-04-16 7:53 ` kernel test robot [this message]
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=202504161522.S1qEFD4b-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=david@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=muchun.song@linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=osalvador@suse.de \
--cc=vbabka@suse.cz \
--cc=willy@infradead.org \
/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