From: Valentin Schneider <valentin.schneider@arm.com>
To: Quentin Perret <qperret@google.com>
Cc: linux-kernel@vger.kernel.org, mingo@kernel.org,
peterz@infradead.org, vincent.guittot@linaro.org,
Dietmar.Eggemann@arm.com, morten.rasmussen@arm.com,
stable@vger.kernel.org
Subject: Re: [PATCH v2] sched/topology: Allow sched_asym_cpucapacity to be disabled
Date: Tue, 15 Oct 2019 13:57:51 +0100 [thread overview]
Message-ID: <ce8cfbad-6f2d-fceb-b045-a1d9c682f788@arm.com> (raw)
In-Reply-To: <20191015115632.GC242992@google.com>
On 15/10/2019 12:56, Quentin Perret wrote:
> Hmm, a problem here is that static_branch*() can block (it uses a
> mutex) while you're in the rcu section, I think.
>
> I suppose you could just move this above rcu_read_lock() and use
> rcu_access_pointer() instead ?
>
Right, I got confused again, the only problem is with the rcu_read_lock(),
so the increment is fine but the decrement isn't.
Let me try this again with more coffee.
> Thanks,
> Quentin
>
prev parent reply other threads:[~2019-10-15 12:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-15 10:29 Valentin Schneider
2019-10-15 10:40 ` Quentin Perret
2019-10-15 10:58 ` Valentin Schneider
2019-10-15 11:49 ` Valentin Schneider
2019-10-15 11:56 ` Quentin Perret
2019-10-15 12:57 ` Valentin Schneider [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=ce8cfbad-6f2d-fceb-b045-a1d9c682f788@arm.com \
--to=valentin.schneider@arm.com \
--cc=Dietmar.Eggemann@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=morten.rasmussen@arm.com \
--cc=peterz@infradead.org \
--cc=qperret@google.com \
--cc=stable@vger.kernel.org \
--cc=vincent.guittot@linaro.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®