When you know interrupts were previously enabled and also know nobody will
ever call the function now or in the future with interrupts disabled. In
general I think "don't do it" is the answer.
The net code used to use both according to need but even by 1.2 it was mostly
using save/restore - it was just causing too many bugs being clever
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/