From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juri Lelli Subject: Re: [PATCH 2/6] sched/cpuset: Bring back cpuset_mutex Date: Thu, 27 Apr 2023 07:53:27 +0200 Message-ID: References: <20230329125558.255239-1-juri.lelli@redhat.com> <20230329125558.255239-3-juri.lelli@redhat.com> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682574821; 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: in-reply-to:in-reply-to:references:references; bh=TACSMy7Ug2sStH4pdeuOCgf93fUckqHIu/mqCYHofQw=; b=BExXH43zl/lMYtMnqZ0Gwm5AbDjCLKnqu/VOISxih+bqLuXw9gU7aHjiWZYk9eXDFS9bsq k8+VPn8C3y5409KO+DHR1cz7ITJhcmXSbmfpDBiLGNjYKtNRv/flVv8rUOVnqrDMcJ/tfU Rf1sIjm50WVEYEvOVkiqf+CW7uv6avw= Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Xuewen Yan Cc: Waiman Long , Peter Zijlstra , Ingo Molnar , Qais Yousef , Tejun Heo , Zefan Li , Johannes Weiner , Hao Luo , Dietmar Eggemann , Steven Rostedt , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, luca.abeni-5rdYK369eBLQB0XuIGIEkQ@public.gmane.org, claudio-YOzL5CV4y4YG1A2ADO40+w@public.gmane.org, tommaso.cucinotta-5rdYK369eBLQB0XuIGIEkQ@public.gmane.org, bristot-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, mathieu.poirier-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Vincent Guittot , Wei Wang , Rick Yiu , Quentin Perret , Heiko Carstens , Vasily Gorbik Hi, On 27/04/23 10:58, Xuewen Yan wrote: > HI Juri, > > Would this patch be merged tobe stable-rc? In kernel5.15, we also find > that the rwsem would be blocked for a long time, when we change the > task's cpuset cgroup. > And when we revert to the mutex, the delay would disappear. Honestly, I'm not sure. This change is mostly improving performance, but it is also true that it's fixing some priority inheritance corner cases. So, I'm not sure it qualifies for stable, but it would be probably good to have it there. Thanks, Juri