On Thu, 19 Aug 2010 22:13:17 +0200
Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:
Nice. That fixes the "use of irq-only slots from interrupts-on
context" bugs which people keep adding.
We don't have any checks in there for the stack overflowing?
Did you add every runtime check you could possibly think of?
kmap_atomic_idx_push() and pop() don't have much in there. It'd be
good to lard it up with runtime checks for at least a few weeks.
Well, there's that monster conversion patch. How's about you
temporarily do
#define kmap_atomic(x, arg...) __kmap_atomic(x)
so for a while, both kmap_atomic(a, KM_foo) and kmap_atomic(a) are
turned into __kmap_atomic(a). Once all the dust has settled, pull that
out again?
--