Messages in this thread | | | Date | Tue, 28 May 2002 18:34:09 +0200 | From | Andi Kleen <> | Subject | Re: 8-CPU (SMP) #s for lockfree rtcache |
| |
On Tue, May 28, 2002 at 07:03:13PM +0200, Alan Cox wrote: > On Tue, 2002-05-28 at 16:45, Andi Kleen wrote: > > The next obvious benefitor IMHO is module unloading. Just putting > > a synchronize_kernel() somewhere at the end of sys_delete_modules() > > after the destructor makes module unloading much less nasty than it > > used to be (yes it doesn't fix all possible module unload races, but a > > large share of them and it makes the problem much more controllable) > > For 2.5 it would be much more productive to make sys_delete_module > memset the entire vmalloced space of the module to an illegal > instruction before returning
And gain tons of new atomic_incs and decs everywhere in the process? I would prefer RCU.
-Andi - 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/
| |