Messages in this thread | | | Date | Fri, 25 Apr 2008 19:26:51 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH 1/1] x86: fix text_poke |
| |
> 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
| |