Re: [PATCH 10/12] hugetlb: batch PMD split for bulk vmemmap dedup
From: kernel test robot
Date: Sat Aug 26 2023 - 14:20:58 EST
Hi Mike,
kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20230825]
[cannot apply to akpm-mm/mm-everything v6.5-rc7 v6.5-rc6 v6.5-rc5 linus/master v6.5-rc7]
[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/Mike-Kravetz/hugetlb-clear-flags-in-tail-pages-that-will-be-freed-individually/20230826-030805
base: next-20230825
patch link: https://lore.kernel.org/r/20230825190436.55045-11-mike.kravetz%40oracle.com
patch subject: [PATCH 10/12] hugetlb: batch PMD split for bulk vmemmap dedup
config: x86_64-randconfig-r031-20230826 (https://download.01.org/0day-ci/archive/20230827/202308270248.eJT8UDG3-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230827/202308270248.eJT8UDG3-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308270248.eJT8UDG3-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> mm/hugetlb_vmemmap.c:40: warning: Function parameter or member 'flags' not described in 'vmemmap_remap_walk'
vim +40 mm/hugetlb_vmemmap.c
f41f2ed43ca525 Muchun Song 2021-06-30 19
998a2997885f73 Muchun Song 2022-06-28 20 /**
998a2997885f73 Muchun Song 2022-06-28 21 * struct vmemmap_remap_walk - walk vmemmap page table
998a2997885f73 Muchun Song 2022-06-28 22 *
998a2997885f73 Muchun Song 2022-06-28 23 * @remap_pte: called for each lowest-level entry (PTE).
998a2997885f73 Muchun Song 2022-06-28 24 * @nr_walked: the number of walked pte.
998a2997885f73 Muchun Song 2022-06-28 25 * @reuse_page: the page which is reused for the tail vmemmap pages.
998a2997885f73 Muchun Song 2022-06-28 26 * @reuse_addr: the virtual address of the @reuse_page page.
998a2997885f73 Muchun Song 2022-06-28 27 * @vmemmap_pages: the list head of the vmemmap pages that can be freed
998a2997885f73 Muchun Song 2022-06-28 28 * or is mapped from.
506a27a4627ab7 Joao Martins 2023-08-25 29 * @flags used to modify behavior in bulk operations
998a2997885f73 Muchun Song 2022-06-28 30 */
998a2997885f73 Muchun Song 2022-06-28 31 struct vmemmap_remap_walk {
998a2997885f73 Muchun Song 2022-06-28 32 void (*remap_pte)(pte_t *pte, unsigned long addr,
998a2997885f73 Muchun Song 2022-06-28 33 struct vmemmap_remap_walk *walk);
998a2997885f73 Muchun Song 2022-06-28 34 unsigned long nr_walked;
998a2997885f73 Muchun Song 2022-06-28 35 struct page *reuse_page;
998a2997885f73 Muchun Song 2022-06-28 36 unsigned long reuse_addr;
998a2997885f73 Muchun Song 2022-06-28 37 struct list_head *vmemmap_pages;
506a27a4627ab7 Joao Martins 2023-08-25 38 #define VMEMMAP_REMAP_ONLY_SPLIT BIT(0)
506a27a4627ab7 Joao Martins 2023-08-25 39 unsigned long flags;
998a2997885f73 Muchun Song 2022-06-28 @40 };
998a2997885f73 Muchun Song 2022-06-28 41
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki