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
--