Received: by 10.192.165.148 with SMTP id m20csp3642291imm; Mon, 7 May 2018 16:18:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqr26ug4vHaG3i3WCFC9prh/TqpDc58Mc4v6iavfPi2c1x6IQuaBDLsPbwFyHc7ihcG0H2u X-Received: by 2002:a17:902:8a82:: with SMTP id p2-v6mr4621804plo.244.1525735124634; Mon, 07 May 2018 16:18:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525735124; cv=none; d=google.com; s=arc-20160816; b=qliouHMvsWLXtH3yJt15sxXIDS2fAa121UP2xDrmCpwIfzcE5BrcwwW3AxxW1A0mHT 1dyJtkirReBRwaZKs8oiAxqcZmNTYHBGb8e8HjkItyLOasVw4CYm0GPiyvPf1UOCr/z9 H0luUQFDXK5txBVDDg/2zLSWRJbvPFVbclPeY7/Av0Ekas/s6jsxSNS+X5rsaXRztHv8 XUUg7o9IR7dZa7uuWOtk52B1h80l5NTEj24uFNt6swvlzrjhuglP/6yrT5+0u4tXZcnW QcNigli3gfFJDVrZUNYwHUFk0c1hVPpmHjxnuaOhxBDf9OFkxYGRWwAfFpnG6yTEuRRv RWXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=XjKohlux0d6uwluxL/FGFiF58P+aO4EzzgX9vVH0GOM=; b=Zaf9FMXkuBZ+pTc1hL6rXP3a5NUh0Fny3bYfhLwjn/3B0ZAcWCZwBWm+l1jdFU0TKf LQb4meLc/uF+znaTBrubqDM6e4iGGqpUt8NuzYwsz5HNGbdgRX6kW0Tw4FnyLCJoPjS0 +vo07updlz7xPhN9WlHRUI+vZ6NChMD6j/wWc70bqDX51D5JVJ9cDsAKiAX6HDQLZsrU wT4OxD//gH3V9b1mFeer5uIWFp2inYo2URqS+zOiWTH/rmQLaHkx+Uo1jAwfMgCMc1lQ GaZmIQjR0Pz3TVKVF7FocaYYTSBpiU8zVHjf8si5n9QkMK+Ok9vif+sDCRRLqAR1Wsju hEuA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b66-v6si23731638plb.107.2018.05.07.16.18.30; Mon, 07 May 2018 16:18:44 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753482AbeEGXSF (ORCPT + 99 others); Mon, 7 May 2018 19:18:05 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:60640 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753171AbeEGXSE (ORCPT ); Mon, 7 May 2018 19:18:04 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.9.71]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id B6C6D504; Mon, 7 May 2018 23:18:02 +0000 (UTC) Date: Mon, 7 May 2018 16:18:01 -0700 From: Andrew Morton To: kbuild test robot Cc: "Eric W. Biederman" , kbuild-all@01.org, Johannes Weiner , Michal Hocko , 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: <20180507161801.2641b71f63158839b9c528f3@linux-foundation.org> In-Reply-To: <201805052304.9QOZSH4V%fengguang.wu@intel.com> References: <87lgd1zww0.fsf_-_@xmission.com> <201805052304.9QOZSH4V%fengguang.wu@intel.com> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?