Re: [patch 2/2] x86: Handle error returns in set_memory_*

From: Ingo Molnar
Date: Sun Sep 14 2008 - 10:10:44 EST



* Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx> wrote:

> Correctly handle the error returns from set_memory_*. We have to free
> memtype on error return path.

we should emit a kernel warning as well if any of those calls fail.
Drivers should not be randomly poking on RAM ranges.

i'm also missing some background on this, could you please explain in a
bit more detail about what errors there were triggered, and how they
caused the display artifacts?

Ingo
--
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/