Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1646525pxv; Fri, 16 Jul 2021 14:19:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrpXbVEPhCiilIKacCgbEsXXrCmiOvJYwPYwU9gFysIwQc+8YpXnYbRal/qrN3tD1xkZRF X-Received: by 2002:a5d:9ccb:: with SMTP id w11mr3786179iow.174.1626470388699; Fri, 16 Jul 2021 14:19:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626470388; cv=none; d=google.com; s=arc-20160816; b=bnpq3zlDPtkhlHr0TcRi51WjcXtKCHY2RBJg3Q197paDzNim81BWcYsZqwFYIfRMMc kwUCwNdq0X9ogfWDid7WM0pD68lTGra1rSJlquXbjK7ksV/zdWlE6SkGN5tgX+XxhzHw QWfuuQBSv09hGU6h9YxvyoHonRjoDtrvOqsHLQPDK8hqoOVDPZQQXeuuEl35PAD4ZovG 7Qi/Lr5eQVhskAOYqV+pSkk97uKsYDbeXO3xJWrfDjg7GwEtsS7t8cLGlx1LvSZ45s+c 8cfoRvRodyjBlwuoBNpfaTHNz+IPX0Qdy22M5QX/XevkgLWAoDzYfGUFuVRtMecnoXkc cBUw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=ATw9tZdhYF/626TCmJT2xXOkMuRTkYsc1yKjcQyVFP0=; b=T9Y2js8AeUcQgyA5SwKEHJaRSZYlML7jD7Hav6Y/jFvmqRFO0cx2QLSAKIQw/tZZUx DGzLDueXgSm77uq9zFWbKEI1DqGxrcM9ps5g1r2RcNLf1yETettCfAZoPRbuVmsQLwN6 uheKs/H/irQX9KaBDnnngCsdYVp79siFkRm9fyQrVYP2O/Nj8QFweEBEhitu1cMTBmXI VFZSedLG1WgTnD286XBU8hs3l9lOtu394zcvFyWzD4RGqjhkrkQKE3UyR1ewVotpJWup /5/B9NI4uvvYQVE02M1UzeHMtCygDxZMEzeHMyfynS2UPf/UE5GkfIREZ3bJqu6w3ngl rVCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IypbT7+Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w3si1207445iol.91.2021.07.16.14.19.36; Fri, 16 Jul 2021 14:19:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IypbT7+Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S235369AbhGPVVn (ORCPT + 99 others); Fri, 16 Jul 2021 17:21:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233454AbhGPVVl (ORCPT ); Fri, 16 Jul 2021 17:21:41 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DFFEC06175F; Fri, 16 Jul 2021 14:18:46 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id u14so11169461pga.11; Fri, 16 Jul 2021 14:18:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ATw9tZdhYF/626TCmJT2xXOkMuRTkYsc1yKjcQyVFP0=; b=IypbT7+Y0NaY7r9Dz97O68Ntezw/INbqU4XXy8HH/13CPcy3JWupvvny1EdiU3s5qO FZghZX/FF33NOXDSqw9xOVT5LrWy+YP1ewjsl0FSO8Y8quMKMO0KHnMcZ190oPP7vEoH E10fYtWDnV1+jt6RpDepRL9GRku98ELwqAYWrpOzugyFLn5qd7PiE4DAIWROZWa9G8cJ 0kgj18ee0JcqJv/OlEu3eD6cPTuWgodRad+mgW7a7LYA0mluYalnPz2fK0b9hC8b/9EA S1VcjFT+P1+Zhq947Ax0zHHnXemfiCIu/j7G7ZZU4FBXoS3tq49QCnDs537UxFpynhYk di+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=ATw9tZdhYF/626TCmJT2xXOkMuRTkYsc1yKjcQyVFP0=; b=JTRhYh+JKp1E/OM96JAgg70Mlj63qRT7Ik/XRabARjGQV1nI/F5/nmMNcP93W99oOX AUV07Rh7LbcKwhXPJYNG38r6oDWLW5sPbzr1T/I0Pql3Xk9aMfUgor2H8K5ukgJJhhK/ HhagzCofZr4Gqy1hDHhHKuTLY/232zUewmnbQvMb3Fd9uFVi4qt+NaGRM8bhglMDl3Bl zxZbjpyrq6YMTpXLoiz+IDb5rYh3QmxyNxu3coi+N3zXzUgLo1N9OLpbgiHqcO8MocWc 77deH48i+aMBDSr7b2eN+oy72dJ7IgWWAYZt9Zi7GUb78SNpHQOEv2H/hZBndsa4ZMNM NL+w== X-Gm-Message-State: AOAM533dyWPN/x6Uar2/I4iE5KNr83DNBb5wm8iM6IQBkvWd5LF/ZDIN 1XmE5SxuuLS8dL+jIslZGo0= X-Received: by 2002:a63:170a:: with SMTP id x10mr11539130pgl.305.1626470325782; Fri, 16 Jul 2021 14:18:45 -0700 (PDT) Received: from localhost ([2620:10d:c090:400::5:37b9]) by smtp.gmail.com with ESMTPSA id j21sm8994763pjz.26.2021.07.16.14.18.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jul 2021 14:18:45 -0700 (PDT) Sender: Tejun Heo Date: Fri, 16 Jul 2021 11:18:40 -1000 From: Tejun Heo To: Waiman Long Cc: Zefan Li , Johannes Weiner , Jonathan Corbet , Shuah Khan , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Andrew Morton , Roman Gushchin , Phil Auld , Peter Zijlstra , Juri Lelli Subject: Re: [PATCH v2 2/6] cgroup/cpuset: Clarify the use of invalid partition root Message-ID: References: <20210621184924.27493-1-longman@redhat.com> <20210621184924.27493-3-longman@redhat.com> <6ea1ac38-73e1-3f78-a5d2-a4c23bcd8dd1@redhat.com> <1bb119a1-d94a-6707-beac-e3ae5c03fae5@redhat.com> <8c44b659-3fe4-b14f-fac1-cbd5b23010c3@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Fri, Jul 16, 2021 at 05:12:17PM -0400, Waiman Long wrote: > Are you suggesting that we add a cpuset.cpus.events file that allows > processes to be notified if an event (e.g. hotplug) that changes a partition > root to invalid partition happens or when explicit change to a partition > root fails? Will that be enough to satisfy your requirement? Yeah, something like that or make the current state file generate events on state transitions. Thanks. -- tejun