* [linux-next:master 10516/10830] mm/zsmalloc.c:742:23: warning: 'get_zspage_lockless' defined but not used
@ 2024-02-28 15:10 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-28 15:10 UTC (permalink / raw)
To: Chengming Zhou; +Cc: oe-kbuild-all, Linux Memory Management List, Andrew Morton
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e
commit: 2258bdebb55e3ad3d30fd3849ddb955ff36825de [10516/10830] mm/zsmalloc: don't hold locks of all pages when free_zspage()
config: m68k-hp300_defconfig (https://download.01.org/0day-ci/archive/20240228/202402282356.8HzbImAg-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240228/202402282356.8HzbImAg-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/202402282356.8HzbImAg-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/zsmalloc.c:742:23: warning: 'get_zspage_lockless' defined but not used [-Wunused-function]
742 | static struct zspage *get_zspage_lockless(struct page *page)
| ^~~~~~~~~~~~~~~~~~~
mm/zsmalloc.c:288:13: warning: 'kick_deferred_free' defined but not used [-Wunused-function]
288 | static void kick_deferred_free(struct zs_pool *pool) {}
| ^~~~~~~~~~~~~~~~~~
vim +/get_zspage_lockless +742 mm/zsmalloc.c
740
741 /* Only used in zs_page_migrate() to get zspage locklessly. */
> 742 static struct zspage *get_zspage_lockless(struct page *page)
743 {
744 struct zspage __rcu **private = (struct zspage __rcu **)&page->private;
745
746 return rcu_dereference(*private);
747 }
748
--
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-02-28 15:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28 15:10 [linux-next:master 10516/10830] mm/zsmalloc.c:742:23: warning: 'get_zspage_lockless' defined but not used 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