Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1174182 > unrolled thread

[PATCH 0/5] stop_machine: cleanups and fix

Started byOleg Nesterov <oleg@redhat.com>
First post2015-06-30 03:40 +0200
Last post2015-06-30 03:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/5] stop_machine: cleanups and fix Oleg Nesterov <oleg@redhat.com> - 2015-06-30 03:40 +0200

#1174182 — [PATCH 0/5] stop_machine: cleanups and fix

FromOleg Nesterov <oleg@redhat.com>
Date2015-06-30 03:40 +0200
Subject[PATCH 0/5] stop_machine: cleanups and fix
Message-ID<pGSGK-3PE-3@gated-at.bofh.it>
On 06/30, Oleg Nesterov wrote:
>
> But let me send some cleanups first. Plus I believe I found another
> stop_machine bug, see the last patch. So I hope these changes make
> sense in any case.

The last patch fixes the bug, I think. Say, stop_one_cpu(X) can race
with _cpu_down(X)->stop_machine() so that the kernel will crash if this
CPU X becomes online again.

The window after cpu_stopper_thread() returns and before smpboot_thread()
calls ->park() is tiny, but still this is possible afaics.

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web