* [akpm-mm:mm-new 439/459] fs/proc/task_mmu.c:205:13: warning: 'reacquire_rcu' defined but not used
@ 2026-09-12 12:39 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-12 12:39 UTC (permalink / raw)
To: Suren Baghdasaryan
Cc: oe-kbuild-all, David Hildenbrand, Andrew Morton,
Linux Memory Management List, mm-commits,
Liam R. Howlett (Oracle), Lorenzo Stoakes (ARM)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
head: 383fc05d4650b021f3c17e36a145106dcc61a294
commit: 2a61a4b80dc01581dc9f6935eedefbd596e77409 [439/459] proc/task_mmu: remove unnecessary inlines in function definitions
config: openrisc-randconfig-r053-20260912 (https://download.01.org/0day-ci/archive/20260912/202609121422.hkKWuy7K-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260912/202609121422.hkKWuy7K-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/202609121422.hkKWuy7K-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> fs/proc/task_mmu.c:205:13: warning: 'reacquire_rcu' defined but not used [-Wunused-function]
205 | static void reacquire_rcu(struct proc_maps_private *priv)
| ^~~~~~~~~~~~~
>> fs/proc/task_mmu.c:197:13: warning: 'drop_rcu' defined but not used [-Wunused-function]
197 | static void drop_rcu(struct proc_maps_private *priv)
| ^~~~~~~~
fs/proc/task_mmu.c:133:12: warning: 'lock_ctx_mm' defined but not used [-Wunused-function]
133 | static int lock_ctx_mm(struct proc_maps_locking_ctx *lock_ctx)
| ^~~~~~~~~~~
vim +/reacquire_rcu +205 fs/proc/task_mmu.c
196
> 197 static void drop_rcu(struct proc_maps_private *priv)
198 {
199 if (priv->lock_ctx.mmap_locked)
200 return;
201
202 rcu_read_unlock();
203 }
204
> 205 static void reacquire_rcu(struct proc_maps_private *priv)
206 {
207 if (priv->lock_ctx.mmap_locked)
208 return;
209
210 rcu_read_lock();
211 /* Reinitialize the iterator. */
212 vma_iter_set(&priv->iter, priv->lock_ctx.locked_vma->vm_end);
213 }
214
--
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:[~2026-09-12 12:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-12 12:39 [akpm-mm:mm-new 439/459] fs/proc/task_mmu.c:205:13: warning: 'reacquire_rcu' 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.