* Re: [PATCH 3/9] mm: Call free_transhuge_folio() directly from destroy_large_folio()
[not found] <20230815032645.1393700-4-willy@infradead.org>
@ 2023-08-15 8:09 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-15 8:09 UTC (permalink / raw)
To: Matthew Wilcox (Oracle), Andrew Morton
Cc: llvm, oe-kbuild-all, Linux Memory Management List,
Matthew Wilcox (Oracle), Jens Axboe, io-uring
Hi Matthew,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on linus/master v6.5-rc6 next-20230809]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Matthew-Wilcox-Oracle/io_uring-Stop-calling-free_compound_page/20230815-112847
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20230815032645.1393700-4-willy%40infradead.org
patch subject: [PATCH 3/9] mm: Call free_transhuge_folio() directly from destroy_large_folio()
config: arm-randconfig-r046-20230815 (https://download.01.org/0day-ci/archive/20230815/202308151509.ErdX8wsj-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230815/202308151509.ErdX8wsj-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/202308151509.ErdX8wsj-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/page_alloc.c:615:3: error: call to undeclared function 'free_transhuge_folio'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
615 | free_transhuge_folio(folio);
| ^
1 error generated.
vim +/free_transhuge_folio +615 mm/page_alloc.c
604
605 void destroy_large_folio(struct folio *folio)
606 {
607 enum compound_dtor_id dtor = folio->_folio_dtor;
608
609 if (folio_test_hugetlb(folio)) {
610 free_huge_page(folio);
611 return;
612 }
613
614 if (folio_test_transhuge(folio) && dtor == TRANSHUGE_PAGE_DTOR) {
> 615 free_transhuge_folio(folio);
616 return;
617 }
618
619 VM_BUG_ON_FOLIO(dtor >= NR_COMPOUND_DTORS, folio);
620 compound_page_dtors[dtor](&folio->page);
621 }
622
--
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:[~2023-08-15 8:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230815032645.1393700-4-willy@infradead.org>
2023-08-15 8:09 ` [PATCH 3/9] mm: Call free_transhuge_folio() directly from destroy_large_folio() 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;
as well as URLs for NNTP newsgroup(s).