All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: "Isaac J. Manjarres" <isaacm@codeaurora.org>
Cc: matt@codeblueprint.co.uk, mingo@kernel.org, tglx@linutronix.de,
	bigeasy@linutronix.de, linux-kernel@vger.kernel.org,
	psodagud@codeaurora.org, gregkh@linuxfoundation.org,
	pkondeti@codeaurora.org, stable@vger.kernel.org
Subject: Re: [PATCH v4] stop_machine: Disable preemption after queueing stopper threads
Date: Tue, 17 Jul 2018 20:34:50 +0200	[thread overview]
Message-ID: <20180717183450.GL2494@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <1531845017-19935-1-git-send-email-isaacm@codeaurora.org>

On Tue, Jul 17, 2018 at 09:30:17AM -0700, Isaac J. Manjarres wrote:
> After cpu_stop_queue_two_works() queues the cpu_stop works
> for the stopper threads, it releases the locks held for
> both threads, which enables preemption, which allows the
> following race condition to occur:


Does not apply because an earlier version is already applied.

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/kernel/stop_machine.c?id=9fb8d5dc4b649dd190e1af4ead670753e71bf907

if there still is a problem, please send a new patch that describes the
remaining problem.

  reply	other threads:[~2018-07-17 18:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17 16:30 [PATCH v4] stop_machine: Disable preemption after queueing stopper threads Isaac J. Manjarres
2018-07-17 18:34 ` Peter Zijlstra [this message]
2018-07-17 19:34   ` isaacm

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=20180717183450.GL2494@hirez.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=bigeasy@linutronix.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=isaacm@codeaurora.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matt@codeblueprint.co.uk \
    --cc=mingo@kernel.org \
    --cc=pkondeti@codeaurora.org \
    --cc=psodagud@codeaurora.org \
    --cc=stable@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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.