Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp980262pxp; Wed, 16 Mar 2022 23:20:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwV4aIl83H9yA8Mike4eJHPqk573bRPXkE9/EP+Co1hNMJfsa31GTN/ZwpVahYCsXAvIcHK X-Received: by 2002:a17:907:1694:b0:6da:9271:486b with SMTP id hc20-20020a170907169400b006da9271486bmr2954792ejc.508.1647498020388; Wed, 16 Mar 2022 23:20:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647498020; cv=none; d=google.com; s=arc-20160816; b=AjftNtVYtQ9xVjD0aSr43D7sbAbBvtqudegG2zzwhLET9JMBH9IwuIDbrZYtM+fz7D RkYMVm0rwjKO+O7XUkoOXHPEbDi0/f8x7en8SVLO06hVUQD1qibfM51JMNhQbeauDWv6 Tb/CpXrWxk3MNbspyuZqH5FOEt2kU1oaj0ulpr3N+Mj6wvey8BP1OGA1YmpYu//0kO/z DhslXMTKnGNhDqoI4E+VGBmZWpbJcw4lZ81wYqt54xlrhqySFHIqk7irDhSK+tSLTQpf IEPxvKEBLh3uu/m9DLOscLs0M8hlub38eqyK/AdgthWG+chnkhzlzBDw99ANj1D6ZkPH iqfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=XYhITqjVeQlf/f3mSnwwESbB4qHWGV3aRRTvRnzQdQs=; b=YUBeTIJAY3WklQ9mgLZXy2gxSvyLP+eRSJ9h6V6ioPENzAXhzerWFgRMdNq2ATyY4I SBifa2z+jRYvROmPexVaIhvSL219cZ4oLikNY+7nXnBii9nUc9RSeE96NJCrJyQpkdY5 e6PGelNRDZXMLI9391rtnjIwI1X/JnJS7b05GBE+OcTKVULZ2okPBpspHJXBdy2lqAab 8Hwi+zmWeX4hjfZ9Eds1NqOQ3yJtkjgpoqImZ76LY+Rex1vjGzFp/HzUUZU6i2BwEIgY 7yAdsGSIVDoatOAcLYSnAkfASZmuV1MadprdW9GqzW+EjErtTiyohAekYRPLeXAR74k/ qHOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=pGGdcaDH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9-20020a50c249000000b00418c2b5bf8esi785920edf.624.2022.03.16.23.19.55; Wed, 16 Mar 2022 23:20:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=pGGdcaDH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229613AbiCQGU2 (ORCPT + 99 others); Thu, 17 Mar 2022 02:20:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbiCQGUI (ORCPT ); Thu, 17 Mar 2022 02:20:08 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CCBE12C6CC; Wed, 16 Mar 2022 23:09:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=XYhITqjVeQlf/f3mSnwwESbB4qHWGV3aRRTvRnzQdQs=; b=pGGdcaDHsyzjVZrrU+UzpWdJNu hvjK8tyYNByZ+3ybiA+ybjlaecuYesJ31VMdFS4wi5lrqBgHtQvwbIVXA+TQlwYkLOxJxiYuDMfQ6 ALs9XqY/3/fHiJiGHc7woSCZ7OkAe0Esltuo2qv/NKb9mwZ1MUNI5HY3bX9UztPay62vTyDmwyg+K 5R7dgNDRWaLDvNpxB03l4LXRI4zfPWON83PwF04bcx/GNWwZ9JwI0TP3ECyIB035GqookHgczIeQj 2s4rGJVwPjiuMwwrh2ilsdqxxGfRkJNHCpwJCYBngQ2+ZsmG8PGie7M2jzMw6GYdFOtP49Uoc9CD5 mJGubA8A==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUi82-001mfa-Ip; Thu, 17 Mar 2022 04:52:50 +0000 Message-ID: <917e9ce0-c8cf-61b2-d1ba-ebf25bbd979d@infradead.org> Date: Wed, 16 Mar 2022 21:52:44 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU) Content-Language: en-US To: Andrew Morton Cc: broonie@kernel.org, mhocko@suse.cz, sfr@canb.auug.org.au, linux-next@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org, linux-um , paulmck@kernel.org, Richard Weinberger , Johannes Berg References: <20220317004304.95F89C340E9@smtp.kernel.org> <0f622499-36e1-ea43-ddc3-a8b3bb08d34b@infradead.org> <20220316213011.8cac447e692283a4b5d97f3d@linux-foundation.org> From: Randy Dunlap In-Reply-To: <20220316213011.8cac447e692283a4b5d97f3d@linux-foundation.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/16/22 21:30, Andrew Morton wrote: > On Wed, 16 Mar 2022 21:21:16 -0700 Randy Dunlap wrote: > >> >> >> On 3/16/22 17:43, Andrew Morton wrote: >>> The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to >>> >>> https://www.ozlabs.org/~akpm/mmotm/ >>> >>> mmotm-readme.txt says >>> >>> README for mm-of-the-moment: >>> >>> https://www.ozlabs.org/~akpm/mmotm/ >>> >>> This is a snapshot of my -mm patch queue. Uploaded at random hopefully >>> more than once a week. >>> >>> You will need quilt to apply these patches to the latest Linus release (5.x >>> or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in >>> https://ozlabs.org/~akpm/mmotm/series >> >> >> UML for x86_64, defconfig: >> >> In file included from ./arch/x86/include/generated/asm/rwonce.h:1:0, >> from ../include/linux/compiler.h:248, >> from ../include/linux/kernel.h:20, >> from ../include/linux/cpumask.h:10, >> from ../include/linux/energy_model.h:4, >> from ../kernel/sched/fair.c:23: >> ../include/linux/psi.h: In function ‘cgroup_move_task’: >> ../include/linux/rcupdate.h:414:36: error: dereferencing pointer to incomplete type ‘struct css_set’ >> #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v) >> ^~~~ > > Works For Me. I tried `make x86_64_defconfig' and `make i386_defconfig' too. > > Can you please share that .config, or debug a bit? $ make ARCH=um SUBARCH=x86_64 defconfig This fixes the build error for me when CONFIG_PSI=n. --- include/linux/psi.h | 3 +++ 1 file changed, 3 insertions(+) --- mmotm-2022-0316-1742.orig/include/linux/psi.h +++ mmotm-2022-0316-1742/include/linux/psi.h @@ -53,6 +53,9 @@ static inline int psi_cgroup_alloc(struc static inline void psi_cgroup_free(struct cgroup *cgrp) { } + +#include + static inline void cgroup_move_task(struct task_struct *p, struct css_set *to) { rcu_assign_pointer(p->cgroups, to); -- ~Randy