lkml.org 
[lkml]   [2018]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] Move kfree_call_rcu() to slab_common.c
Hi Rao,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on rcu/rcu/next]
[also build test ERROR on v4.16 next-20180329]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/rao-shoaib-oracle-com/Move-kfree_rcu-out-of-rcu-code-and-use-kfree_bulk/20180402-135939
base: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

>> mm/slab_common.c:1531:6: error: redefinition of 'kfree_call_rcu'
void kfree_call_rcu(struct rcu_head *head,
^~~~~~~~~~~~~~
In file included from include/linux/rcupdate.h:214:0,
from include/linux/srcu.h:33,
from include/linux/notifier.h:16,
from include/linux/memory_hotplug.h:7,
from include/linux/mmzone.h:775,
from include/linux/gfp.h:6,
from include/linux/slab.h:15,
from mm/slab_common.c:7:
include/linux/rcutiny.h:87:20: note: previous definition of 'kfree_call_rcu' was here
static inline void kfree_call_rcu(struct rcu_head *head,
^~~~~~~~~~~~~~

vim +/kfree_call_rcu +1531 mm/slab_common.c

1527
1528 /*
1529 * Queue Memory to be freed by RCU after a grace period.
1530 */
> 1531 void kfree_call_rcu(struct rcu_head *head,
1532 rcu_callback_t func)
1533 {
1534 call_rcu_lazy(head, func);
1535 }
1536 EXPORT_SYMBOL_GPL(kfree_call_rcu);
1537

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2018-04-02 10:00    [W:0.163 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site