> > Oh we can't kill module references from interrupts?
>
> Err, no, that would be insane. get_cpu() & put_cpu() should work
> perfectly fine inside interrupts, no?
Yes, they do.
Since the preempt_count is bumped on entry to the interrupt handler, it
is always at least one, and thus put_cpu() will never call schedule.
Robert Love
-
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/