On Thu, Jun 9, 2011 at 11:46, Michael Blizek <michi1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > Hi! > > I am not sure whether my version works on smp. If it does not, maybe try > something like this: > > #include <linux/stop_machine.h> > > int func(void *) > { > while (1) { > } > return 0; > } > > int init_module(void) > { > stop_machine(func, 0, 0); > return 0; > } > > -Michi I vote this....I was into the same situation years ago, when I inaccidentally do busy looping during kernel module load. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies