Re: [PATCH] kmemcheck: SMP support

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Vegard Nossum <vegard.nossum@...>
Cc: Ingo Molnar <mingo@...>, Pekka Enberg <penberg@...>, <linux-kernel@...>
Date: Friday, May 23, 2008 - 12:09 pm

Hi Vegard,

Vegard Nossum <vegard.nossum@gmail.com> writes:


How about merging finished and started into one?  I.e. `paused'.

The notifiers increases `paused' before the waiting-loop and decreases
it again afterwards.

pause_allbutself() sends the IPIs and waits until `paused' reached the
number of CPUS.

resume() justs waits until `paused' reaches zero.

Would this work?  Will the NMI handler finish even when the CPU is
removed while the handler runs?

	Hannes
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] kmemcheck: SMP support, Vegard Nossum, (Fri May 23, 10:17 am)
Re: [PATCH] kmemcheck: SMP support, Johannes Weiner, (Fri May 23, 12:09 pm)
Re: [PATCH] kmemcheck: SMP support, Vegard Nossum, (Fri May 23, 1:10 pm)
Re: [PATCH] kmemcheck: SMP support, Jeremy Fitzhardinge, (Fri May 23, 11:40 am)
Re: [PATCH] kmemcheck: SMP support, Vegard Nossum, (Fri May 23, 11:51 am)
Re: [PATCH] kmemcheck: SMP support, Jan Kiszka, (Fri May 23, 1:12 pm)
Re: [PATCH] kmemcheck: SMP support, Vegard Nossum, (Fri May 23, 1:32 pm)
Re: [PATCH] kmemcheck: SMP support, Jeremy Fitzhardinge, (Fri May 23, 4:54 pm)
Re: [PATCH] kmemcheck: SMP support, Jan Kiszka, (Fri May 23, 1:54 pm)
Re: [PATCH] kmemcheck: SMP support, Ingo Molnar, (Fri May 23, 11:06 am)
Re: [PATCH] kmemcheck: SMP support, Vegard Nossum, (Fri May 23, 11:30 am)
Re: [PATCH] kmemcheck: SMP support, Avi Kivity, (Mon May 26, 5:29 am)
Re: [PATCH] kmemcheck: SMP support, Ingo Molnar, (Mon May 26, 5:11 am)
Re: [PATCH] kmemcheck: SMP support, Jeremy Fitzhardinge, (Fri May 23, 12:13 pm)