cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
To: Waiman Long <longman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: Will Deacon <will-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kernel-team-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org,
	Zefan Li <lizefan.x-EC8Uxl6Npydl57MIdRCFDg@public.gmane.org>,
	Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Johannes Weiner <hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org>,
	cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 1/2] cpuset: Fix cpuset_cpus_allowed() to not filter offline CPUs
Date: Fri, 3 Feb 2023 16:26:23 +0100	[thread overview]
Message-ID: <Y90nn9NVkEhcZ6nq@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <d626998b-4cb0-dd8f-fd97-21715bf2eb0b-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On Fri, Feb 03, 2023 at 10:13:10AM -0500, Waiman Long wrote:

> I think I know where the problem is. It is due to the fact the cpuset
> hotplug code doesn't update cpumasks of the tasks in the top cpuset (root)
> at all when there is a cpu offline or online event. It is probably because
> for some of the tasks in the top cpuset, especially the percpu kthread,
> changing their cpumasks can be catastrophic. The hotplug code does update
> the cpumasks of the tasks that are not in the top cpuset. This problem is
> irrespective of whether v1 or v2 is in use.

I've been saying this exact thing for how many mails now?

  parent reply	other threads:[~2023-02-03 15:26 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-31 22:17 [PATCH 0/2] Fix broken cpuset affinity handling on heterogeneous systems Will Deacon
     [not found] ` <20230131221719.3176-1-will-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2023-01-31 22:17   ` [PATCH 1/2] cpuset: Fix cpuset_cpus_allowed() to not filter offline CPUs Will Deacon
     [not found]     ` <20230131221719.3176-2-will-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2023-02-01  4:14       ` Waiman Long
     [not found]         ` <6b068916-5e1b-a943-1aad-554964d8b746-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2023-02-01  9:14           ` Peter Zijlstra
     [not found]             ` <Y9otWX+MGOLDKU6t-Nxj+rRp3nVydTX5a5knrm8zTDFooKrT+cvkQGrU6aU0@public.gmane.org>
2023-02-01 15:16               ` Waiman Long
2023-02-01 18:46                 ` Waiman Long
     [not found]                   ` <a892d340-ea99-1562-0e70-176f02f195c2-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2023-02-01 19:14                     ` Waiman Long
     [not found]                       ` <37f158af-6ca8-9f5a-c87a-0266d8bb21a6-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2023-02-01 19:17                         ` Waiman Long
2023-02-01 21:10                   ` Peter Zijlstra
2023-02-02  3:34                     ` Waiman Long
     [not found]                       ` <773e2f22-211e-163f-64bb-15ae29ad161b-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2023-02-03 11:50                         ` Will Deacon
2023-02-03 15:13                           ` Waiman Long
     [not found]                             ` <d626998b-4cb0-dd8f-fd97-21715bf2eb0b-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2023-02-03 15:26                               ` Peter Zijlstra [this message]
     [not found]                                 ` <Y90nn9NVkEhcZ6nq-Nxj+rRp3nVydTX5a5knrm8zTDFooKrT+cvkQGrU6aU0@public.gmane.org>
2023-02-03 15:35                                   ` Waiman Long
2023-02-02  8:34           ` Peter Zijlstra
     [not found]             ` <Y9t1sP/6nFht7RSN-Nxj+rRp3nVydTX5a5knrm8zTDFooKrT+cvkQGrU6aU0@public.gmane.org>
2023-02-02 16:06               ` Waiman Long
     [not found]                 ` <d630ca53-71f0-c735-fbc3-e826479aa86b-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2023-02-02 19:42                   ` Peter Zijlstra
     [not found]                     ` <Y9wSC1Wxlm8CKKlN-Nxj+rRp3nVydTX5a5knrm8zTDFooKrT+cvkQGrU6aU0@public.gmane.org>
2023-02-02 20:46                       ` Waiman Long
     [not found]                         ` <2bc730db-704d-080b-6869-02f6d0035fad-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2023-02-02 20:48                           ` Tejun Heo
     [not found]                             ` <Y9whrU4IUeleqdrt-NiLfg/pYEd1N0TnZuCh8vA@public.gmane.org>
2023-02-02 20:53                               ` Waiman Long
2023-02-02 21:05                                 ` Waiman Long
     [not found]                                   ` <8787b5f7-9822-e49b-0357-d0ce224ca920-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2023-02-02 21:50                                     ` Tejun Heo
     [not found]                                       ` <Y9wwP4LF9vgreO3U-NiLfg/pYEd1N0TnZuCh8vA@public.gmane.org>
2023-02-03  0:54                                         ` Waiman Long
2023-02-03 16:31                                         ` Will Deacon
2023-01-31 22:17   ` [PATCH 2/2] cpuset: Call set_cpus_allowed_ptr() with appropriate mask for task Will Deacon
2023-02-01  2:22     ` Waiman Long
     [not found]       ` <66cdf2e8-f1aa-5dfe-cd2e-0e37dc0ae799-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2023-02-01  9:15         ` Peter Zijlstra
2023-02-01 15:03           ` Waiman Long
     [not found]     ` <20230131221719.3176-3-will-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2023-02-01  9:27       ` Peter Zijlstra
2023-02-03 17:55       ` Waiman Long
2023-02-06 20:21       ` Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y90nn9NVkEhcZ6nq@hirez.programming.kicks-ass.net \
    --to=peterz-wegcikhe2lqwvfeawa7xhq@public.gmane.org \
    --cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org \
    --cc=kernel-team-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=lizefan.x-EC8Uxl6Npydl57MIdRCFDg@public.gmane.org \
    --cc=longman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=will-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).