Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1575076pxp; Thu, 17 Mar 2022 11:53:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4dS2td0MiWfKxSJEB3xmBRdHQ/AwCQG/M2y7/6sx+VeXGA5Zikk+VG3205/Ey8HFumpwP X-Received: by 2002:a05:6402:42d4:b0:416:5cac:a9a0 with SMTP id i20-20020a05640242d400b004165caca9a0mr6201772edc.86.1647543205802; Thu, 17 Mar 2022 11:53:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647543205; cv=none; d=google.com; s=arc-20160816; b=Wb5PzAKgP75n3xJD0ogHFqLTMyRpwoTEp+C4Zp0s+C+S+AbX6R0iOgQ11lVWQnULiI gWvJSHCytUAFBp8J4bfHmcyOTtE5X5IQ2zjYAQARQKMZeOF6g9sBBkBJXVvOz9w052PC nqdz1Tfuk1Y3V4J9rvoD+6DQFbfO7dKJ/Bi7FDa9D86sfV+LE345M3BK/HNWqhaPJEhf 2zq0wKGwEPzLgiF8qwQAtaImL3pA0gEjxnzcwXypKWWD9KHuPo6DS/zkFwO/6+QZFDci ZncJ8tX/Ij6qnmJTe1nikVUDp4M3HTSxzMW260damlArpAiM24ehIDmmMLM6BWEbVUkF Xobg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=FmblxMC63N4rMeTcgR/7qLSETae/WHrjcUv3E3fD0e4=; b=MRUT6AFaKCfSbxa7s4TqzSEGEaTBdXxtqdSy1gOv/TvCAoAaU0e/XJH9zJtGK0CbgC TDdVnlveDsGzIz9ZMtqEFS+8U8ehv/WOeFVw58PZ8pQHvJYgKcA6fnMRgQNdMtJm2SUo ZVEvj1I35VQUoaQYnAG0zwZexJmc8ws8/XKK5+1vxc9EFz4FDCO0+QJOBdemYvUklO5C p6qhEq8zZ6ORPYyoVo0Ae3ouvnx737gcrZW1t4/cREG10z+dLd9k/kB/gZISt6OAmzue Gtbkbv0K2guzXzUJIc9DGLibyndtAXQNDpp4AyO7F8hclFlxODeJpT7meoVwuToYqVs3 9hTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NzwiKeaJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f13-20020a17090660cd00b006db78ecda12si3630859ejk.209.2022.03.17.11.52.59; Thu, 17 Mar 2022 11:53:25 -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=@kernel.org header.s=k20201202 header.b=NzwiKeaJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234320AbiCQNou (ORCPT + 99 others); Thu, 17 Mar 2022 09:44:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234662AbiCQNos (ORCPT ); Thu, 17 Mar 2022 09:44:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79D36D5EBF; Thu, 17 Mar 2022 06:43:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6C48761763; Thu, 17 Mar 2022 13:43:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF95BC340E9; Thu, 17 Mar 2022 13:43:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647524604; bh=ZGwhFr4HMMiHVx6F/dnRpUBbs08BVQzkS3x8lW+YnKw=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=NzwiKeaJ+eZMgsLnO3UZb4GnQOeUQzt6QXy9qaN94dGXjNCEZ/QTeoNu+OKWCd+jy fLRW8X7E61VI8jSfzuj8K/68zk1XJYUkyEKuONcd0bBXM6hsyzxYnTKKi5GPnYIh03 6vvEGiY+fLioIBr7P7LBIlcJUx71thHGUAMr24CNAwNX6TOk8aMCl76G57rwHB1Ksf IDigUZKfFtWKRRT4LGeSXhny//SJQu2Jhk1BVDY1vr3iotmdd/dgdC0CFPZe1RWyt9 NGOxBSegOf8pKGcm7rrDw/sQMZdGoypJepNf8brGjD28HvLtom+amC1+5R+bIaRmuS MYJnWNh5FdcFg== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 715905C0341; Thu, 17 Mar 2022 06:43:24 -0700 (PDT) Date: Thu, 17 Mar 2022 06:43:24 -0700 From: "Paul E. McKenney" To: Randy Dunlap Cc: Andrew Morton , 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 , Richard Weinberger , Johannes Berg Subject: Re: mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU) Message-ID: <20220317134324.GN4285@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20220317004304.95F89C340E9@smtp.kernel.org> <0f622499-36e1-ea43-ddc3-a8b3bb08d34b@infradead.org> <20220316213011.8cac447e692283a4b5d97f3d@linux-foundation.org> <917e9ce0-c8cf-61b2-d1ba-ebf25bbd979d@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <917e9ce0-c8cf-61b2-d1ba-ebf25bbd979d@infradead.org> X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 Wed, Mar 16, 2022 at 09:52:44PM -0700, Randy Dunlap wrote: > > > 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. Looks better than my approach of converting cgroup_move_task() to be a macro. ;-) Thanx, Paul > --- > 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