mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave Hansen <dave.hansen@intel.com>
To: Jun Miao <jun.miao@intel.com>,
	dave.hansen@linux.intel.com, jarkko@kernel.org,
	tglx@linutronix.de, mingo@redhat.com, bp@alien8.de,
	hpa@zytor.com
Cc: linux-sgx@vger.kernel.org, linux-kernel@vger.kernel.org,
	x86@kernel.org, fan.du@intel.com, challvy.tee@gmail.com
Subject: Re: [PATCH v7] x86/sgx: Report RCU-Tasks quiescent state in EPC sanitization loop
Date: Mon, 19 Oct 2026 08:51:00 -0700	[thread overview]
Message-ID: <c4f51c40-30d8-43c5-9077-5bb09ad0bb63@intel.com> (raw)
In-Reply-To: <20260902013653.690506-1-jun.miao@intel.com>

On 9/1/26 18:36, Jun Miao wrote:
> -		cond_resched();
> +		/*
> +		 * cond_resched() only schedules when TIF_NEED_RESCHED is set.
> +		 * During this boot-time loop that condition may not happen for a
> +		 * long time, so report an RCU-Tasks quiescent state explicitly.
> +		 * Therefore, change cond_resched() to cond_resched_tasks_rcu_qs().
> +		 */
> +		cond_resched_tasks_rcu_qs();
>  	}

I dropped this from x86/sgx for the moment. That comment reads like a
changelog and needs at least a minimal fixup. I'll look at it after I
get the rest of the merge window work done.

      parent reply	other threads:[~2026-10-19 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-02  1:36 Jun Miao
2026-09-02 20:54 ` [tip: x86/sgx] " tip-bot2 for Jun Miao
2026-10-19 15:51 ` Dave Hansen [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=c4f51c40-30d8-43c5-9077-5bb09ad0bb63@intel.com \
    --to=dave.hansen@intel.com \
    --cc=bp@alien8.de \
    --cc=challvy.tee@gmail.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=fan.du@intel.com \
    --cc=hpa@zytor.com \
    --cc=jarkko@kernel.org \
    --cc=jun.miao@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sgx@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.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

all inboxes | Powered by JetHome®