Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Muchun Song <songmuchun@bytedance.com>,
	Oscar Salvador <osalvador@suse.de>,
	David Hildenbrand <david@kernel.org>,
	Mike Rapoport <rppt@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Muchun Song <muchun.song@linux.dev>,
	"Liam R . Howlett" <liam@infradead.org>,
	Vlastimil Babka <vbabka@kernel.org>,
	Michal Hocko <mhocko@suse.com>, Miaohe Lin <linmiaohe@huawei.com>,
	Naoya Horiguchi <nao.horiguchi@gmail.com>,
	Lance Yang <lance.yang@linux.dev>, Qi Zheng <qi.zheng@linux.dev>
Subject: Re: [PATCH 1/2] mm/vmemmap-optimization: track optimization state in shared vmemmap pages
Date: Sat, 5 Dec 2026 17:55:05 +0800	[thread overview]
Message-ID: <20261204225656.P5q9BSDl-lkp@intel.com> (raw)
In-Reply-To: <20261204065009.1392156-2-songmuchun@bytedance.com>

Hi Muchun,

kernel test robot noticed the following build errors:

[auto build test ERROR on 1a7610248a3802e38124ce66b07eef12277be9a0]

url:    https://github.com/intel-lab-lkp/linux/commits/Muchun-Song/mm-vmemmap-optimization-track-optimization-state-in-shared-vmemmap-pages/20261204-145008
base:   1a7610248a3802e38124ce66b07eef12277be9a0
patch link:    https://lore.kernel.org/r/20261204065009.1392156-2-songmuchun%40bytedance.com
patch subject: [PATCH 1/2] mm/vmemmap-optimization: track optimization state in shared vmemmap pages
config: loongarch-randconfig-1001-20261204 (https://download.01.org/0day-ci/archive/20261204/20261204225656.P5q9BSDl-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204225656.P5q9BSDl-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/20261204225656.P5q9BSDl-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/loongarch/include/asm/pgtable.h:75,
                    from include/linux/pgtable.h:6,
                    from include/linux/mm.h:31,
                    from arch/loongarch/kernel/asm-offsets.c:11:
   include/linux/vmemmap-optimization.h: In function 'folio_vmemmap_optimized':
>> include/linux/vmemmap-optimization.h:123:40: error: implicit declaration of function 'folio_order'; did you mean 'folio_try_get'? [-Werror=implicit-function-declaration]
     123 |         if (!vmemmap_optimizable_order(folio_order(folio)))
         |                                        ^~~~~~~~~~~
         |                                        folio_try_get
   include/linux/mm.h: At top level:
>> include/linux/mm.h:1950:28: error: conflicting types for 'folio_order'; have 'unsigned int(const struct folio *)'
    1950 | static inline unsigned int folio_order(const struct folio *folio)
         |                            ^~~~~~~~~~~
   include/linux/vmemmap-optimization.h:123:40: note: previous implicit declaration of 'folio_order' with type 'int()'
     123 |         if (!vmemmap_optimizable_order(folio_order(folio)))
         |                                        ^~~~~~~~~~~
   cc1: some warnings being treated as errors
   make[3]: *** [scripts/Makefile.build:185: arch/loongarch/kernel/asm-offsets.s] Error 1 shuffle=15396140
   make[3]: Target 'prepare' not remade because of errors.
   make[2]: *** [Makefile:1417: prepare0] Error 2 shuffle=15396140
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=15396140
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2 shuffle=15396140
   make: Target 'prepare' not remade because of errors.


vim +123 include/linux/vmemmap-optimization.h

   118	
   119	static inline bool folio_vmemmap_optimized(const struct folio *folio)
   120	{
   121		const struct page *page = folio_page(folio, VMEMMAP_OPTIMIZATION_NR_STRUCT_PAGES);
   122	
 > 123		if (!vmemmap_optimizable_order(folio_order(folio)))

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


  parent reply	other threads:[~2026-12-05  9:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  6:50 [PATCH 0/2] mm: Track vmemmap optimization state in shared backing pages Muchun Song
2026-12-04  6:50 ` [PATCH 1/2] mm/vmemmap-optimization: track optimization state in shared vmemmap pages Muchun Song
2026-12-04  7:23   ` sashiko-bot
2026-12-05  9:55   ` kernel test robot
2026-12-05  9:55   ` kernel test robot [this message]
2026-12-04  6:50 ` [PATCH 2/2] mm/hugetlb_vmemmap: remove HPG_vmemmap_optimized Muchun Song
2026-12-04  7:23   ` sashiko-bot

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=20261204225656.P5q9BSDl-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=david@kernel.org \
    --cc=lance.yang@linux.dev \
    --cc=liam@infradead.org \
    --cc=linmiaohe@huawei.com \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@suse.com \
    --cc=muchun.song@linux.dev \
    --cc=nao.horiguchi@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=osalvador@suse.de \
    --cc=qi.zheng@linux.dev \
    --cc=rppt@kernel.org \
    --cc=songmuchun@bytedance.com \
    --cc=vbabka@kernel.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