Hmmm, we had some way for executing code just after an interrupt,
but outside interrupt scope... was it a bottom half? Can you
point me to some place where it's done?
> > Also, this locking rule means I can't even read current->user->time_slice?
> > What if I changed the type to an atomic_int?
>
> You can always read a single word-sized type atomically. No need for
> atomic_t's.
Ok, I did know m68k can do it, but wasn't sure about all other arches :)
Btw, I'm testing the patch using UML and besides I don't have any SMP
machine, hope any of you can test it when it looks good :)
Greets, Antonio
-
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/