Re: [PATCH 1/1] x86: fix text_poke

From: Andi Kleen
Date: Fri Apr 25 2008 - 13:21:14 EST


> I agree that it has to be robust, but if we want to make suspend/resume
> be instantaneous (and we do), performance does actually matter. Yes, this

For suspend/resume we can actually just disable all the text_poke()s.
They are not needed because we don't expect to stay in single CPU
mode for long after wake up and they will just be undone again.

I guess if it really was a problem (but really I haven't heard about it)
the easiest fix would be to just extended system_state to SYSTEM_SUSPEND
and then skip them if that is true.

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