Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1324202

Re: [PATCH] mm/slab: fix race with dereferencing NULL ptr in alloc_calls_show

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm/slab: fix race with dereferencing NULL ptr in alloc_calls_show
Date 2016-02-02 16:30 +0100
Message-ID <qXL3Y-4VX-21@gated-at.bofh.it> (permalink)
References <qXKKC-4KV-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Dmitry,

[auto build test ERROR on v4.5-rc2]
[also build test ERROR on next-20160201]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Dmitry-Safonov/mm-slab-fix-race-with-dereferencing-NULL-ptr-in-alloc_calls_show/20160202-230449
config: i386-randconfig-x005-02010231 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   mm/slab_common.c: In function 'memcg_destroy_kmem_caches':
>> mm/slab_common.c:613:3: error: implicit declaration of function 'sysfs_slab_remove' [-Werror=implicit-function-declaration]
      sysfs_slab_remove(s);
      ^
   cc1: some warnings being treated as errors

vim +/sysfs_slab_remove +613 mm/slab_common.c

   607	
   608		mutex_lock(&slab_mutex);
   609		list_for_each_entry_safe(s, s2, &slab_caches, list) {
   610			if (is_root_cache(s) || s->memcg_params.memcg != memcg)
   611				continue;
   612	
 > 613			sysfs_slab_remove(s);
   614	
   615			/*
   616			 * The cgroup is about to be freed and therefore has no charges

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] mm/slab: fix race with dereferencing NULL ptr in alloc_calls_show Dmitry Safonov <dsafonov@virtuozzo.com> - 2016-02-02 16:10 +0100
  Re: [PATCH] mm/slab: fix race with dereferencing NULL ptr in  alloc_calls_show kbuild test robot <lkp@intel.com> - 2016-02-02 16:30 +0100
    Re: [PATCH] mm/slab: fix race with dereferencing NULL ptr in  alloc_calls_show Dmitry Safonov <dsafonov@virtuozzo.com> - 2016-02-02 17:00 +0100

csiph-web