Re: [PATCH] Remove stop_machine during module load

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul E. McKenney
Date: Friday, August 29, 2008 - 3:07 pm

On Fri, Aug 29, 2008 at 11:23:30PM +0200, Andi Kleen wrote:

Ah -- perhaps I was confusing preventing CPU hotplug with preventing
stop_machine().  So disabling preemption holds off stop_machine()?
Yep, looks that way.


Yep!  And to prevent compiler optimizations that could have the
same effect.


Or maybe just disable preemption around the remaining readers, preventing
any stop_machine()-based deletions from being carried out during the
searches.

(And here I call myself a fan of real-time response!!!  But I suppose
that stop_machine() is going to be pretty hard on realtime response in
any case, so just don't mess with modules while your real-time
application is running...)

							Thanx, Paul
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Remove stop_machine during module load, Andi Kleen, (Fri Aug 29, 12:17 pm)
Re: [PATCH] Remove stop_machine during module load, Paul E. McKenney, (Fri Aug 29, 1:44 pm)
Re: [PATCH] Remove stop_machine during module load, Andi Kleen, (Fri Aug 29, 2:23 pm)
Re: [PATCH] Remove stop_machine during module load, Paul E. McKenney, (Fri Aug 29, 3:07 pm)
Re: [PATCH] Remove stop_machine during module load, Rusty Russell, (Mon Sep 1, 12:02 am)
Re: [PATCH] Remove stop_machine during module load, Andi Kleen, (Mon Sep 1, 1:52 am)