All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Balbir Singh <bsingharora@gmail.com>,
	Anton Blanchard <anton@ozlabs.org>,
	paulus@samba.org, mpe@ellerman.id.au, npiggin@gmail.com,
	cyrilbur@gmail.com
Cc: linuxppc-dev@lists.ozlabs.org,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Subject: Re: [PATCH] powerpc: During context switch, check before setting mm_cpumask
Date: Tue, 04 Oct 2016 10:58:14 +1100	[thread overview]
Message-ID: <1475539094.3784.113.camel@kernel.crashing.org> (raw)
In-Reply-To: <b0537503-e415-ec23-f2c9-88d18209473e@gmail.com>

On Tue, 2016-10-04 at 10:25 +1100, Balbir Singh wrote:
> I think this makes sense, in fact I think in the longer term we can
> even use __set_bit() reorder-able version since we have a sync
> coming out of schedule(). The read side for TLB flush can use a RMB

No, that wouldn't be atomic vs. other threads accessing the same
bitmap.

Ben.

  reply	other threads:[~2016-10-03 23:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-03  6:40 [PATCH] powerpc: During context switch, check before setting mm_cpumask Anton Blanchard
2016-10-03 23:25 ` Balbir Singh
2016-10-03 23:58   ` Benjamin Herrenschmidt [this message]
2016-10-04  0:20     ` Balbir Singh
2016-10-05  2:36 ` Michael Ellerman

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=1475539094.3784.113.camel@kernel.crashing.org \
    --to=benh@kernel.crashing.org \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=anton@ozlabs.org \
    --cc=bsingharora@gmail.com \
    --cc=cyrilbur@gmail.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=npiggin@gmail.com \
    --cc=paulus@samba.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.