Re: kmap_atomic slot collision

From: Michael S. Tsirkin
Date: Sat Dec 17 2005 - 16:04:11 EST


Quoting Andrew Morton <akpm@xxxxxxxx>:
> And lo, a bunch of places in the kernel are forgetting to disable local
> interrupts. So if your ode is correctly coded as above, you can
> scribble
> on their kmap, but they cannot scribble on yours.

That seems to be what I'm seeing.

> Failing to disable local IRQs while taking KM_IRQn is a ghastly bug.
> I'll
> fix 'em up.
Thanks!
Pls Cc me on a patch, I'm not on the list.

--
MST
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/