From: kernel test robot <lkp@intel.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
0day robot <lkp@intel.com>
Subject: mm/page_alloc.c:1758:34: error: use of undeclared identifier 'page_reporting_host_zeroes'; did you mean 'page_reporting_notify_free'?
Date: Mon, 13 Apr 2026 22:57:51 +0200 [thread overview]
Message-ID: <202604132244.y6063sr4-lkp@intel.com> (raw)
tree: https://github.com/intel-lab-lkp/linux/commits/Michael-S-Tsirkin/mm-page_alloc-propagate-PageReported-flag-across-buddy-splits/20260413-231432
head: b595bf053bb60e812c690b177ae9b15d9df745d5
commit: 8abc113d8e46f1cc8c8d4264f87923849d312e56 mm: page_reporting: skip redundant zeroing of host-zeroed reported pages
date: 6 hours ago
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260413/202604132244.y6063sr4-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/20260413/202604132244.y6063sr4-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/202604132244.y6063sr4-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/page_alloc.c:1758:34: error: use of undeclared identifier 'page_reporting_host_zeroes'; did you mean 'page_reporting_notify_free'?
1758 | static_branch_unlikely(&page_reporting_host_zeroes);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| page_reporting_notify_free
include/linux/jump_label.h:503:43: note: expanded from macro 'static_branch_unlikely'
503 | if (__builtin_types_compatible_p(typeof(*x), struct static_key_true)) \
| ^
mm/page_reporting.h:51:20: note: 'page_reporting_notify_free' declared here
51 | static inline void page_reporting_notify_free(unsigned int order)
| ^
>> mm/page_alloc.c:1758:34: error: use of undeclared identifier 'page_reporting_host_zeroes'; did you mean 'page_reporting_notify_free'?
1758 | static_branch_unlikely(&page_reporting_host_zeroes);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| page_reporting_notify_free
include/linux/jump_label.h:504:38: note: expanded from macro 'static_branch_unlikely'
504 | branch = arch_static_branch_jump(&(x)->key, false); \
| ^
mm/page_reporting.h:51:20: note: 'page_reporting_notify_free' declared here
51 | static inline void page_reporting_notify_free(unsigned int order)
| ^
>> mm/page_alloc.c:1758:10: error: member reference base type 'void (unsigned int)' is not a structure or union
1758 | static_branch_unlikely(&page_reporting_host_zeroes);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/jump_label.h:504:40: note: expanded from macro 'static_branch_unlikely'
504 | branch = arch_static_branch_jump(&(x)->key, false); \
| ~~~^ ~~~
>> mm/page_alloc.c:1758:34: error: use of undeclared identifier 'page_reporting_host_zeroes'; did you mean 'page_reporting_notify_free'?
1758 | static_branch_unlikely(&page_reporting_host_zeroes);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| page_reporting_notify_free
include/linux/jump_label.h:505:48: note: expanded from macro 'static_branch_unlikely'
505 | else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
| ^
mm/page_reporting.h:51:20: note: 'page_reporting_notify_free' declared here
51 | static inline void page_reporting_notify_free(unsigned int order)
| ^
>> mm/page_alloc.c:1758:34: error: use of undeclared identifier 'page_reporting_host_zeroes'; did you mean 'page_reporting_notify_free'?
1758 | static_branch_unlikely(&page_reporting_host_zeroes);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| page_reporting_notify_free
include/linux/jump_label.h:506:33: note: expanded from macro 'static_branch_unlikely'
506 | branch = arch_static_branch(&(x)->key, false); \
| ^
mm/page_reporting.h:51:20: note: 'page_reporting_notify_free' declared here
51 | static inline void page_reporting_notify_free(unsigned int order)
| ^
>> mm/page_alloc.c:1758:10: error: member reference base type 'void (unsigned int)' is not a structure or union
1758 | static_branch_unlikely(&page_reporting_host_zeroes);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/jump_label.h:506:35: note: expanded from macro 'static_branch_unlikely'
506 | branch = arch_static_branch(&(x)->key, false); \
| ~~~^ ~~~
6 errors generated.
vim +1758 mm/page_alloc.c
1747
1748 static __always_inline void page_del_and_expand(struct zone *zone,
1749 struct page *page, int low,
1750 int high, int migratetype)
1751 {
1752 int nr_pages = 1 << high;
1753 bool was_reported = page_reported(page);
1754
1755 __del_page_from_free_list(page, zone, high, migratetype);
1756
1757 was_reported = was_reported &&
> 1758 static_branch_unlikely(&page_reporting_host_zeroes);
1759
1760 nr_pages -= expand(zone, page, low, high, migratetype, was_reported);
1761 account_freepages(zone, -nr_pages, migratetype);
1762
1763 /*
1764 * If the page was reported and the host is known to zero reported
1765 * pages, mark it zeroed via page->private so that
1766 * post_alloc_hook() can skip redundant zeroing.
1767 */
1768 if (was_reported)
1769 set_page_private(page, MAGIC_PAGE_ZEROED);
1770 }
1771
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-04-13 20:58 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=202604132244.y6063sr4-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=mst@redhat.com \
--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