From: Tejun Heo Subject: Re: [PATCH v2 2/6] cgroup/cpuset: Clarify the use of invalid partition root Date: Fri, 16 Jul 2021 11:18:40 -1000 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 Return-path: 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== Sender: Tejun Heo Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Waiman Long Cc: Zefan Li , Johannes Weiner , Jonathan Corbet , Shuah Khan , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kselftest-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Andrew Morton , Roman Gushchin , Phil Auld , Peter Zijlstra , Juri Lelli 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