Received: by 10.192.165.148 with SMTP id m20csp356516imm; Wed, 9 May 2018 14:00:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqTPAOapHlK6XDfhWC1ljvg6p8YxxG4ElP968mOwa4v5rgzvNZrh3v1M9givWPDsM/wRK2h X-Received: by 2002:a65:508c:: with SMTP id r12-v6mr36550882pgp.185.1525899641355; Wed, 09 May 2018 14:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525899641; cv=none; d=google.com; s=arc-20160816; b=uNH354PRS9owIHMcvYmcCu/vS5UauG1fZaBbpaqnMEw7ieqHnC5ReD78+Bq9scroU2 LuJz3UxCV3CEHI/IPvnV4qRJth2bn69Y+vqT6YZY52XMxJ8SAF/cP1uRrnyyndNH832W U1kcgq1usbKWzpWG+Z4r9iBKFtvkKRKcwDhs039arrpK5RSVFZKNmKuER38oATUlCbXu y+QfgpAbdozkGZ8soneXdwpTfAF+M17lgKkOoW80WxXDCOuUimMNYwy/NpG+5cmP/SV/ iAm7GumZhf9KV/1cxLHJ66kEVsuV2Ps8kG6L0ndKyeesDMJGPOjOwZSE2jFe4mHb3BHl 5kGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=BKPfczX1ZvlimIPJ69oJxb4Pp9t3ijZk3hDKMfS7ZU0=; b=FDU+f95Ejkr1l20EAuDo5eEFPDwdERYjheVVx1c3CEUXHbG41bQze4Zb3gDq9UPcBM kgLKAqHoUBzFxngVHICjCZjLr5rTorJzZZaeg9bFlCgZbWpeP0JchiMjz/c5ovO6JPPk Fs8PYy6CscL7V7UK/2/HTRzAV6xu/1fcxRmASoOFXjXX+V1avGtJ5ez14PCh66shO89f 4SV7IS4JHuIRGx84Zj/fcpIjuAApkLWRkmjca/yB1lGNPtJohPxZ/9D5Dr5wIWFK1mjK 2z9pk8yvuwkSrH+zEFS3POkLXFxRQJQ4rhvzMAuc/4asVNHRyGakfy685dUHBENCClus HZKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1-v6si27165557plt.39.2018.05.09.14.00.25; Wed, 09 May 2018 14:00:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965216AbeEIVAO (ORCPT + 99 others); Wed, 9 May 2018 17:00:14 -0400 Received: from mx2.suse.de ([195.135.220.15]:38339 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964903AbeEIVAN (ORCPT ); Wed, 9 May 2018 17:00:13 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A73DAADD1; Wed, 9 May 2018 21:00:11 +0000 (UTC) Date: Wed, 9 May 2018 23:00:09 +0200 From: Michal Hocko To: Andrew Morton Cc: kbuild test robot , "Eric W. Biederman" , kbuild-all@01.org, Johannes Weiner , Kirill Tkhai , peterz@infradead.org, oleg@redhat.com, viro@zeniv.linux.org.uk, mingo@kernel.org, paulmck@linux.vnet.ibm.com, keescook@chromium.org, riel@redhat.com, tglx@linutronix.de, kirill.shutemov@linux.intel.com, marcos.souza.org@gmail.com, hoeun.ryu@gmail.com, pasha.tatashin@oracle.com, gs051095@gmail.com, dhowells@redhat.com, rppt@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, Balbir Singh , Tejun Heo Subject: Re: [PATCH] memcg: Replace mm->owner with mm->memcg Message-ID: <20180509210009.GW32366@dhcp22.suse.cz> References: <87lgd1zww0.fsf_-_@xmission.com> <201805052304.9QOZSH4V%fengguang.wu@intel.com> <20180507161801.2641b71f63158839b9c528f3@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180507161801.2641b71f63158839b9c528f3@linux-foundation.org> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 07-05-18 16:18:01, Andrew Morton wrote: > On Sun, 6 May 2018 00:54:48 +0800 kbuild test robot wrote: > > > Hi Eric, > > > > Thank you for the patch! Yet something to improve: > > > > [auto build test ERROR on linus/master] > > [also build test ERROR on v4.17-rc3] > > [cannot apply to next-20180504] > > [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/Eric-W-Biederman/memcg-Replace-mm-owner-with-mm-memcg/20180503-120054 > > config: xtensa-nommu_kc705_defconfig (attached as .config) > > compiler: xtensa-de212-elf-gcc (crosstool-NG crosstool-ng-1.23.0-307-g452ee331) 7.3.0 > > 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=xtensa > > > > All errors (new ones prefixed by >>): > > > > kernel/fork.o: In function `sighand_ctor': > > >> fork.c:(.text+0x3b0): undefined reference to `mm_update_memcg' > > kernel/fork.o: In function `mmdrop_async': > > fork.c:(.text+0x43a): undefined reference to `mm_update_memcg' > > kernel/fork.o: In function `set_task_stack_end_magic': > > fork.c:(.text+0x752): undefined reference to `mm_update_memcg' > > Due to the combination of CONFIG_MMU=n and CONFIG_MEMCG=y. > mm/memcontrol.c's mm_update_memcg() depends upon CONFIG_MMU=y. > > Is this a valid conbination? Do we actually support (and test!) memcg > on nommu systems? Well, I was arguing we should mark it BROKEN quite some time ago but Johannes and you IIRC objected that we shouldn't do that as long as nobody complains it doesn't work. To be completely honest I am skeptical anybody uses memcg on nommu, but I might be easily wrong here. I didn't care enough to pursue back then... -- Michal Hocko SUSE Labs