> Using smp_processor_id() is usually a bug.
Well, this is in-interrupt code.
> - If you do something which might sleep inside get_cpu/put_cpu,
> you get might_sleep() warnings.
Certainly handy (but I don't see it's useful in this particular code,
really)
regards
john
-- "When your name is Winner, that's it. You don't need a nickname." - Loser Lane - 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/