From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3F64C4338F for ; Wed, 11 Aug 2021 18:19:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A7AC060F46 for ; Wed, 11 Aug 2021 18:19:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231258AbhHKSTe (ORCPT ); Wed, 11 Aug 2021 14:19:34 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:44779 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230189AbhHKSTd (ORCPT ); Wed, 11 Aug 2021 14:19:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628705948; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ANzdLIOaIJbxnr8pVh5jQkoQ6kMweZt9tE4el1kTVKE=; b=Bz/Go6X0ygVjsyOErv3mQMjBt0xevFutupCoiTowmt3wlFRFFeVGEx/hELvR8hCS1XuTGv Goon8oRvFKb4laJZXCbr18qUYzbiYt7e5pxjkfycX0edbVYrHMchbOZiMCKuqJISpTZSe4 J905Ip3gyZlMkoYakXj24FLeB5x0X20= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-543-Yw_8MSOnOSWlR0qDvPIMmA-1; Wed, 11 Aug 2021 14:19:07 -0400 X-MC-Unique: Yw_8MSOnOSWlR0qDvPIMmA-1 Received: by mail-qv1-f72.google.com with SMTP id u6-20020ad448660000b02903500bf28866so1744739qvy.23 for ; Wed, 11 Aug 2021 11:19:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ANzdLIOaIJbxnr8pVh5jQkoQ6kMweZt9tE4el1kTVKE=; b=WkzxCIyMgKrIFi0zRz+/kPlZhw3cH3VthwN3DK4fI3hXrLcONogFOJABv7GtWedIwx cbtGFUd7VaXKX8RcZmj10FzmI7uxp/ucYo5rif7akRTKKLOZeEA/wGH/VF/vVuYBr1MB VxsSNJ+uZovWnet9zgiGjArXGOLwl/W/rTo/t1mcGKk6bUVMmW9BLlF3kfiwBJDD63KZ nyNdhTdjl3Zz48nr56s67XnrN86T3wRp8py4sTGbb0wRF4EmjnL2R/Y0zANk99LUzyEl tl+L748SKag+vmlRHzFJE/cjshfbPFBig9xQWW6yNPGuZEXVbGp9O+o+FV9JEfnTNzHv actg== X-Gm-Message-State: AOAM531GjzZUGMWjSwe4GWKe60iWBuCOHYgJBG8C/zsqZc+gpjxMyul+ 5MUiYAImQkMhbphPYIKCcQysq68EFiMkW5odI+VJNZ8YtRJ+sa2QYkKIdB2nFGjPkHRx5MvTkiT MnrSJ3csxCmuhwh3Mq2m+hMSH X-Received: by 2002:a05:620a:b4f:: with SMTP id x15mr326534qkg.436.1628705946986; Wed, 11 Aug 2021 11:19:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyItQRa+ugH8/MfKjbw8BhyNTooZz1XicdSsFFEontpDk1YQ4tO1FOw+vSvhWCsxBi7gnVOSQ== X-Received: by 2002:a05:620a:b4f:: with SMTP id x15mr326513qkg.436.1628705946825; Wed, 11 Aug 2021 11:19:06 -0700 (PDT) Received: from llong.remote.csb ([2601:191:8500:76c0::cdbc]) by smtp.gmail.com with ESMTPSA id m197sm13035877qke.54.2021.08.11.11.19.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Aug 2021 11:19:06 -0700 (PDT) From: Waiman Long X-Google-Original-From: Waiman Long Subject: Re: [PATCH v4 5/6] cgroup/cpuset: Update description of cpuset.cpus.partition in cgroup-v2.rst To: Tejun Heo 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 , Frederic Weisbecker , Marcelo Tosatti , =?UTF-8?Q?Michal_Koutn=c3=bd?= References: <20210811030607.13824-1-longman@redhat.com> <20210811030607.13824-6-longman@redhat.com> Message-ID: <26180e1d-1fa9-f175-66f8-297cf0685a11@redhat.com> Date: Wed, 11 Aug 2021 14:19:04 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/11/21 2:15 PM, Tejun Heo wrote: > Hello, > > On Tue, Aug 10, 2021 at 11:06:06PM -0400, Waiman Long wrote: >> + Poll and inotify events are triggered whenever the state >> + of "cpuset.cpus.partition" changes. That includes changes >> + caused by write to "cpuset.cpus.partition" and cpu hotplug. >> + This will allow a user space agent to monitor changes caused >> + by hotplug events. > It might be useful to emphasize that this is the primary mechanism to > signify errors and thus should always be monitored. Sure, will do that in the next version. Cheers, Longman From mboxrd@z Thu Jan 1 00:00:00 1970 From: Waiman Long Subject: Re: [PATCH v4 5/6] cgroup/cpuset: Update description of cpuset.cpus.partition in cgroup-v2.rst Date: Wed, 11 Aug 2021 14:19:04 -0400 Message-ID: <26180e1d-1fa9-f175-66f8-297cf0685a11@redhat.com> References: <20210811030607.13824-1-longman@redhat.com> <20210811030607.13824-6-longman@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628705949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ANzdLIOaIJbxnr8pVh5jQkoQ6kMweZt9tE4el1kTVKE=; b=hg9Ft9g1H9MW9ZFx7rwb9ujgQhABKOpaut+nljDABZBRwl0vhNnv2u3dGXEnzjOLqK03vQ E44YUOERFOMhsH230dqgUIbP/YtDXHXRYrl3w3X5uO7o5Se+xpkLLLZoH1tfsuTMc3vyKS gNMKyZvssvMhZ6J+53BuV9+wwxKiRLk= In-Reply-To: Content-Language: en-US List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Tejun Heo 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 , Frederic Weisbecker , Marcelo Tosatti , =?UTF-8?Q?Michal_Koutn=c3=bd?= On 8/11/21 2:15 PM, Tejun Heo wrote: > Hello, > > On Tue, Aug 10, 2021 at 11:06:06PM -0400, Waiman Long wrote: >> + Poll and inotify events are triggered whenever the state >> + of "cpuset.cpus.partition" changes. That includes changes >> + caused by write to "cpuset.cpus.partition" and cpu hotplug. >> + This will allow a user space agent to monitor changes caused >> + by hotplug events. > It might be useful to emphasize that this is the primary mechanism to > signify errors and thus should always be monitored. Sure, will do that in the next version. Cheers, Longman