* [davidhildenbrand:mm_id 18/21] fs/proc/task_mmu.c:33:13: warning: '__folio_page_mapped_exclusively' defined but not used
@ 2024-12-18 22:41 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-12-18 22:41 UTC (permalink / raw)
To: David Hildenbrand; +Cc: oe-kbuild-all
tree: https://github.com/davidhildenbrand/linux mm_id
head: e7b8c73a68a2ea10e565e103199eba2d607cb99a
commit: 73e0bb6a2659c8c77f22c342659bcf7c570127d0 [18/21] fs/proc/task_mmu: remove per-page mapcount dependency for PM_MMAP_EXCLUSIVE (CONFIG_NO_PAGE_MAPCOUNT)
config: i386-buildonly-randconfig-006-20241219 (https://download.01.org/0day-ci/archive/20241219/202412190649.8PiCAQvF-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/20241219/202412190649.8PiCAQvF-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/202412190649.8PiCAQvF-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> fs/proc/task_mmu.c:33:13: warning: '__folio_page_mapped_exclusively' defined but not used [-Wunused-function]
33 | static bool __folio_page_mapped_exclusively(struct folio *folio, struct page *page)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/__folio_page_mapped_exclusively +33 fs/proc/task_mmu.c
31
32 #ifdef CONFIG_PAGE_MAPCOUNT
> 33 static bool __folio_page_mapped_exclusively(struct folio *folio, struct page *page)
34 {
35 return folio_precise_page_mapcount(folio, page) == 1;
36 }
37 #else /* !CONFIG_PAGE_MAPCOUNT */
38 static bool __folio_page_mapped_exclusively(struct folio *folio, struct page *page)
39 {
40 return !folio_likely_mapped_shared(folio);
41 }
42 #endif /* CONFIG_PAGE_MAPCOUNT */
43
--
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:[~2024-12-18 22:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18 22:41 [davidhildenbrand:mm_id 18/21] fs/proc/task_mmu.c:33:13: warning: '__folio_page_mapped_exclusively' defined but not used 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.