* [anolis-intel-cloud:devel-5.10 9/9] mm/khugepaged.c:109: warning: Function parameter or member 'nr_exec_vma' not described in 'mm_slot'
@ 2025-04-09 21:49 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-09 21:49 UTC (permalink / raw)
To: aubrey.li; +Cc: oe-kbuild-all
Hi Xu,
FYI, the error/warning still remains.
tree: https://gitee.com/anolis/intel-cloud-kernel.git devel-5.10
head: c858cdc0756d595fe5de0dd4c617f7b5a8971ec6
commit: 5c3c3afed0fd68c32fca885daf7c6fbf46007a25 [9/9] anolis: mm, thp: hugetext: accelerate khugepaged for hugetext vma
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250410/202504100509.Zq5nrogK-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250410/202504100509.Zq5nrogK-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/202504100509.Zq5nrogK-lkp@intel.com/
All warnings (new ones prefixed by >>):
mm/khugepaged.c:109: warning: Function parameter or member 'nr_pte_mapped_thp' not described in 'mm_slot'
mm/khugepaged.c:109: warning: Function parameter or member 'pte_mapped_thp' not described in 'mm_slot'
>> mm/khugepaged.c:109: warning: Function parameter or member 'nr_exec_vma' not described in 'mm_slot'
>> mm/khugepaged.c:109: warning: Function parameter or member 'exec_vma' not described in 'mm_slot'
mm/khugepaged.c:1493: warning: Function parameter or member 'mm' not described in 'collapse_pte_mapped_thp'
mm/khugepaged.c:1493: warning: Function parameter or member 'addr' not described in 'collapse_pte_mapped_thp'
mm/khugepaged.c:1695: warning: Function parameter or member 'mm' not described in 'collapse_file'
mm/khugepaged.c:1695: warning: Function parameter or member 'file' not described in 'collapse_file'
mm/khugepaged.c:1695: warning: Function parameter or member 'start' not described in 'collapse_file'
mm/khugepaged.c:1695: warning: Function parameter or member 'hpage' not described in 'collapse_file'
mm/khugepaged.c:1695: warning: Function parameter or member 'node' not described in 'collapse_file'
vim +109 mm/khugepaged.c
27e1f8273113ade Song Liu 2019-09-23 87
b46e756f5e47031 Kirill A. Shutemov 2016-07-26 88 /**
b46e756f5e47031 Kirill A. Shutemov 2016-07-26 89 * struct mm_slot - hash lookup from mm to mm_slot
b46e756f5e47031 Kirill A. Shutemov 2016-07-26 90 * @hash: hash collision list
b46e756f5e47031 Kirill A. Shutemov 2016-07-26 91 * @mm_node: khugepaged scan list headed in khugepaged_scan.mm_head
b46e756f5e47031 Kirill A. Shutemov 2016-07-26 92 * @mm: the mm that this information is valid for
b46e756f5e47031 Kirill A. Shutemov 2016-07-26 93 */
b46e756f5e47031 Kirill A. Shutemov 2016-07-26 94 struct mm_slot {
b46e756f5e47031 Kirill A. Shutemov 2016-07-26 95 struct hlist_node hash;
b46e756f5e47031 Kirill A. Shutemov 2016-07-26 96 struct list_head mm_node;
b46e756f5e47031 Kirill A. Shutemov 2016-07-26 97 struct mm_struct *mm;
27e1f8273113ade Song Liu 2019-09-23 98
27e1f8273113ade Song Liu 2019-09-23 99 /* pte-mapped THP in this mm */
27e1f8273113ade Song Liu 2019-09-23 100 int nr_pte_mapped_thp;
27e1f8273113ade Song Liu 2019-09-23 101 unsigned long pte_mapped_thp[MAX_PTE_MAPPED_THP];
5c3c3afed0fd68c Xu Yu 2021-08-19 102
5c3c3afed0fd68c Xu Yu 2021-08-19 103 #ifdef CONFIG_HUGETEXT
5c3c3afed0fd68c Xu Yu 2021-08-19 104 #define MAX_EXEC_VMA 8
5c3c3afed0fd68c Xu Yu 2021-08-19 105 /* exec vma vm_start in this mm */
5c3c3afed0fd68c Xu Yu 2021-08-19 106 int nr_exec_vma;
5c3c3afed0fd68c Xu Yu 2021-08-19 107 unsigned long exec_vma[MAX_EXEC_VMA];
5c3c3afed0fd68c Xu Yu 2021-08-19 108 #endif
b46e756f5e47031 Kirill A. Shutemov 2016-07-26 @109 };
b46e756f5e47031 Kirill A. Shutemov 2016-07-26 110
:::::: The code at line 109 was first introduced by commit
:::::: b46e756f5e47031c67658ff036e5ffe27062fa43 thp: extract khugepaged from mm/huge_memory.c
:::::: TO: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
--
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:[~2025-04-09 21:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09 21:49 [anolis-intel-cloud:devel-5.10 9/9] mm/khugepaged.c:109: warning: Function parameter or member 'nr_exec_vma' not described in 'mm_slot' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.