From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964801AbcBBPzx (ORCPT ); Tue, 2 Feb 2016 10:55:53 -0500 Received: from mx2.parallels.com ([199.115.105.18]:37880 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933093AbcBBPzw (ORCPT ); Tue, 2 Feb 2016 10:55:52 -0500 Subject: Re: [PATCH] mm/slab: fix race with dereferencing NULL ptr in alloc_calls_show To: kbuild test robot References: <201602022324.wVKj7DGl%fengguang.wu@intel.com> CC: , , , , , , , , Vladimir Davydov From: Dmitry Safonov Message-ID: <56B0D17B.4050703@virtuozzo.com> Date: Tue, 2 Feb 2016 18:55:39 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <201602022324.wVKj7DGl%fengguang.wu@intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: US-EXCH.sw.swsoft.com (10.255.249.47) To US-EXCH.sw.swsoft.com (10.255.249.47) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/02/2016 06:19 PM, kbuild test robot wrote: > 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 Thanks little robot, will resend fixed v2 right soon. > > 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 -- Regards, Dmitry Safonov