From: kbuild test robot <lkp@intel.com>
To: Yang Shi <yang.s@alibaba-inc.com>
Cc: kbuild-all@01.org, cl@linux.com, penberg@kernel.org,
rientjes@google.com, iamjoonsoo.kim@lge.com,
akpm@linux-foundation.org, mhocko@kernel.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] mm: slabinfo: dump CONFIG_SLABINFO
Date: Sat, 7 Oct 2017 19:45:18 +0800 [thread overview]
Message-ID: <201710071928.VpRvNUPG%fengguang.wu@intel.com> (raw)
In-Reply-To: <1507152550-46205-3-git-send-email-yang.s@alibaba-inc.com>
[-- Attachment #1: Type: text/plain, Size: 3761 bytes --]
Hi Yang,
[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.14-rc3 next-20170929]
[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/Yang-Shi/oom-capture-unreclaimable-slab-info-in-oom-message/20171007-173639
base: git://git.cmpxchg.org/linux-mmotm.git master
config: sh-allnoconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sh
All errors (new ones prefixed by >>):
mm/slub.c: In function 'get_slabinfo':
mm/slub.c:5864:14: error: implicit declaration of function 'node_nr_objs' [-Werror=implicit-function-declaration]
nr_objs += node_nr_objs(n);
^~~~~~~~~~~~
>> mm/slub.c:5865:14: error: implicit declaration of function 'count_partial' [-Werror=implicit-function-declaration]
nr_free += count_partial(n, count_free);
^~~~~~~~~~~~~
mm/slub.c:5865:31: error: 'count_free' undeclared (first use in this function)
nr_free += count_partial(n, count_free);
^~~~~~~~~~
mm/slub.c:5865:31: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
vim +/count_partial +5865 mm/slub.c
57ed3eda9 Pekka J Enberg 2008-01-01 5850
57ed3eda9 Pekka J Enberg 2008-01-01 5851 /*
57ed3eda9 Pekka J Enberg 2008-01-01 5852 * The /proc/slabinfo ABI
57ed3eda9 Pekka J Enberg 2008-01-01 5853 */
0d7561c61 Glauber Costa 2012-10-19 5854 void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo)
57ed3eda9 Pekka J Enberg 2008-01-01 5855 {
57ed3eda9 Pekka J Enberg 2008-01-01 5856 unsigned long nr_slabs = 0;
205ab99dd Christoph Lameter 2008-04-14 5857 unsigned long nr_objs = 0;
205ab99dd Christoph Lameter 2008-04-14 5858 unsigned long nr_free = 0;
57ed3eda9 Pekka J Enberg 2008-01-01 5859 int node;
fa45dc254 Christoph Lameter 2014-08-06 5860 struct kmem_cache_node *n;
57ed3eda9 Pekka J Enberg 2008-01-01 5861
fa45dc254 Christoph Lameter 2014-08-06 5862 for_each_kmem_cache_node(s, node, n) {
c17fd13ec Wanpeng Li 2013-07-04 5863 nr_slabs += node_nr_slabs(n);
c17fd13ec Wanpeng Li 2013-07-04 @5864 nr_objs += node_nr_objs(n);
205ab99dd Christoph Lameter 2008-04-14 @5865 nr_free += count_partial(n, count_free);
57ed3eda9 Pekka J Enberg 2008-01-01 5866 }
57ed3eda9 Pekka J Enberg 2008-01-01 5867
0d7561c61 Glauber Costa 2012-10-19 5868 sinfo->active_objs = nr_objs - nr_free;
0d7561c61 Glauber Costa 2012-10-19 5869 sinfo->num_objs = nr_objs;
0d7561c61 Glauber Costa 2012-10-19 5870 sinfo->active_slabs = nr_slabs;
0d7561c61 Glauber Costa 2012-10-19 5871 sinfo->num_slabs = nr_slabs;
0d7561c61 Glauber Costa 2012-10-19 5872 sinfo->objects_per_slab = oo_objects(s->oo);
0d7561c61 Glauber Costa 2012-10-19 5873 sinfo->cache_order = oo_order(s->oo);
57ed3eda9 Pekka J Enberg 2008-01-01 5874 }
57ed3eda9 Pekka J Enberg 2008-01-01 5875
:::::: The code at line 5865 was first introduced by commit
:::::: 205ab99dd103e3dd5b0964dad8a16dfe2db69b2e slub: Update statistics handling for variable order slabs
:::::: TO: Christoph Lameter <clameter@sgi.com>
:::::: CC: Pekka Enberg <penberg@cs.helsinki.fi>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 5531 bytes --]
next prev parent reply other threads:[~2017-10-07 11:46 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-04 21:29 [PATCH 0/3 v10] oom: capture unreclaimable slab info in oom message Yang Shi
2017-10-04 21:29 ` [PATCH 1/3] tools: slabinfo: add "-U" option to show unreclaimable slabs only Yang Shi
2017-10-04 21:29 ` [PATCH 2/3] mm: slabinfo: dump CONFIG_SLABINFO Yang Shi
2017-10-07 11:45 ` kbuild test robot [this message]
2017-10-07 12:06 ` kbuild test robot
2017-10-04 21:29 ` [PATCH 3/3] mm: oom: show unreclaimable slab info when unreclaimable slabs > user memory Yang Shi
2017-10-06 9:37 ` Michal Hocko
2017-10-06 16:37 ` Yang Shi
2017-10-09 6:33 ` Michal Hocko
2017-10-09 6:36 ` Michal Hocko
2017-10-09 16:44 ` Yang Shi
2017-10-09 18:53 ` Yang Shi
2017-10-09 21:00 ` Yang Shi
2017-10-07 10:10 ` kbuild test robot
2017-10-07 13:05 ` kbuild test robot
-- strict thread matches above, loose matches on Subject: below --
2017-10-10 17:25 [PATCH 0/3 v11] oom: capture unreclaimable slab info in oom message Yang Shi
2017-10-10 17:25 ` [PATCH 2/3] mm: slabinfo: dump CONFIG_SLABINFO Yang Shi
2017-10-17 0:17 ` David Rientjes
2017-10-03 18:06 [PATCH 0/3 v8] oom: capture unreclaimable slab info in oom message Yang Shi
2017-10-03 18:06 ` [PATCH 2/3] mm: slabinfo: dump CONFIG_SLABINFO Yang Shi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201710071928.VpRvNUPG%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=cl@linux.com \
--cc=iamjoonsoo.kim@lge.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@kernel.org \
--cc=penberg@kernel.org \
--cc=rientjes@google.com \
--cc=yang.s@alibaba-inc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox