public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* mm/page_alloc.c:1758:34: error: use of undeclared identifier 'page_reporting_host_zeroes'; did you mean 'page_reporting_notify_free'?
@ 2026-04-13 20:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-13 20:57 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: llvm, oe-kbuild-all, 0day robot

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-13 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-13 20:57 mm/page_alloc.c:1758:34: error: use of undeclared identifier 'page_reporting_host_zeroes'; did you mean 'page_reporting_notify_free'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox