public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Yang Yingliang <yangyingliang@huaweicloud.com>
Cc: linux-kernel@vger.kernel.org, mingo@redhat.com,
	juri.lelli@redhat.com, vincent.guittot@linaro.org,
	dietmar.eggemann@arm.com, rostedt@goodmis.org,
	bsegall@google.com, mgorman@suse.de, bristot@redhat.com,
	vschneid@redhat.com, tglx@linutronix.de, yu.c.chen@intel.com,
	tim.c.chen@linux.intel.com, yangyingliang@huawei.com,
	liwei391@huawei.com
Subject: Re: [PATCH 0/4] sched/smt: Fix error handling in sched_cpu_deactivate()
Date: Tue, 16 Jul 2024 11:54:18 +0200	[thread overview]
Message-ID: <20240716095418.GD26750@noisy.programming.kicks-ass.net> (raw)
In-Reply-To: <20240703031610.587047-1-yangyingliang@huaweicloud.com>

On Wed, Jul 03, 2024 at 11:16:06AM +0800, Yang Yingliang wrote:
> From: Yang Yingliang <yangyingliang@huawei.com>
> 
> sched_smt_present decrement and set_rq_offline() is called before
> cpuset_cpu_inactive(), if cpuset_cpu_inactive() fails, these two
> things need be rollback.
> 
> Yang Yingliang (4):
>   sched/smt: Introduce sched_smt_present_inc/dec() helper
>   sched/smt: fix unbalance sched_smt_present dec/inc
>   sched/core: Introduce sched_set_rq_on/offline() helper
>   sched/core: fix unbalance set_rq_online/offline() in
>     sched_cpu_deactivate()
> 
>  kernel/sched/core.c | 68 +++++++++++++++++++++++++++++++--------------
>  1 file changed, 47 insertions(+), 21 deletions(-)

Thanks!

      parent reply	other threads:[~2024-07-16  9:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-03  3:16 [PATCH 0/4] sched/smt: Fix error handling in sched_cpu_deactivate() Yang Yingliang
2024-07-03  3:16 ` [PATCH 1/4] sched/smt: Introduce sched_smt_present_inc/dec() helper Yang Yingliang
2024-07-29 10:34   ` [tip: sched/core] " tip-bot2 for Yang Yingliang
2024-07-03  3:16 ` [PATCH 2/4] sched/smt: fix unbalance sched_smt_present dec/inc Yang Yingliang
2024-07-29 10:34   ` [tip: sched/core] sched/smt: Fix " tip-bot2 for Yang Yingliang
2024-07-03  3:16 ` [PATCH 3/4] sched/core: Introduce sched_set_rq_on/offline() helper Yang Yingliang
2024-07-16 13:22   ` Markus Elfring
2024-07-29 10:34   ` [tip: sched/core] " tip-bot2 for Yang Yingliang
2024-07-03  3:16 ` [PATCH 4/4] sched/core: fix unbalance set_rq_online/offline() in sched_cpu_deactivate() Yang Yingliang
2024-07-29 10:34   ` [tip: sched/core] sched/core: Fix " tip-bot2 for Yang Yingliang
2024-07-16  9:54 ` Peter Zijlstra [this message]

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=20240716095418.GD26750@noisy.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=bristot@redhat.com \
    --cc=bsegall@google.com \
    --cc=dietmar.eggemann@arm.com \
    --cc=juri.lelli@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liwei391@huawei.com \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    --cc=tim.c.chen@linux.intel.com \
    --cc=vincent.guittot@linaro.org \
    --cc=vschneid@redhat.com \
    --cc=yangyingliang@huawei.com \
    --cc=yangyingliang@huaweicloud.com \
    --cc=yu.c.chen@intel.com \
    /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