public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
From: Madhavan Srinivasan <maddy@linux.ibm.com>
To: linuxppc-dev@lists.ozlabs.org, Shrikanth Hegde <sshegde@linux.ibm.com>
Cc: chleroy@kernel.org, nysal@linux.ibm.com, mkchauras@linux.ibm.com,
	rafael@kernel.org, daniel.lezcano@kernel.org,
	christian.loehle@arm.com, mkchauras@gmail.com, npiggin@gmail.com,
	linux-pm@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH v2] cpuidle: powerpc: avoid double clear when breaking snooze
Date: Wed,  8 Apr 2026 09:59:12 +0530	[thread overview]
Message-ID: <177562236430.1381144.27958537257316890.b4-ty@linux.ibm.com> (raw)
In-Reply-To: <20260311061709.1230440-1-sshegde@linux.ibm.com>

On Wed, 11 Mar 2026 11:47:09 +0530, Shrikanth Hegde wrote:
> snooze_loop is done often in any system which has fair bit of
> idle time. So it qualifies for even micro-optimizations.
> 
> When breaking the snooze due to timeout, TIF_POLLING_NRFLAG is cleared
> twice. Clearing the bit invokes atomics. Avoid double clear and thereby
> avoid one atomic write.
> 
> [...]

Applied to powerpc/next.

[1/1] cpuidle: powerpc: avoid double clear when breaking snooze
      https://git.kernel.org/powerpc/c/64ed1e3e728afb57ba9acb59e69de930ead847d9

cheers


      reply	other threads:[~2026-04-08  4:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-11  6:17 [PATCH v2] cpuidle: powerpc: avoid double clear when breaking snooze Shrikanth Hegde
2026-04-08  4:29 ` Madhavan Srinivasan [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=177562236430.1381144.27958537257316890.b4-ty@linux.ibm.com \
    --to=maddy@linux.ibm.com \
    --cc=chleroy@kernel.org \
    --cc=christian.loehle@arm.com \
    --cc=daniel.lezcano@kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mkchauras@gmail.com \
    --cc=mkchauras@linux.ibm.com \
    --cc=npiggin@gmail.com \
    --cc=nysal@linux.ibm.com \
    --cc=rafael@kernel.org \
    --cc=sshegde@linux.ibm.com \
    --cc=stable@vger.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