Hmm..
How about just making the interrupt code (ie do_IRQ()) or in the flags
into the "parent" flags.
All of the flags should be "sticky one-bits", so just oring them should do
the right thing.
That way we don't have to add nasty BUG checks to the code, and since
we're already dirtying both cache-lines the extra overhead should
literally be just the cost of doing one locked "orl".
Linus
-
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/