Thanks. Stared at it a little longer now and there was a small cut and
paste error in the error path (s/start/tmp/) but other than that, yes,
I'll stand by this. set_memory_array_{uc,wb}() set all pages to the same
type, so coalescing them makes sense in any usage case it seems.
The attached version fixes the out path, is otherwise identical and this
time comes with a proper changelog and a sign-off. Given that you needed
the changelog and the sign-off anyway, I thought there wouldn't be much
point in doing that incrementally, but if you disagree and refactor -- a
changelog for the out path fix would be a simple:
===
x86: fix "have set_memory_array_{uc,wb} coalesce memtypes".
Fix copy and paste error in out path
Signed-off-by: Rene Herman <rene.herman@gmail.com>
===
Yes, I agree not for .27
Well, please note that that specific commit only fixes X startup -- it
doesn't do anything for shutdown. With only that one, I'm still at 14
seconds for X shutdown (first time after boot that is, 5 seconds
subsequent shutdowns) versus 1 (or sub 1, feels immediate) normally.
It's also a black-screen "hang", so we'll probably be getting a lot of
"long hang at shutdown" reports without something additionally for .27.
Venki?
Wasn't in tip/master when I just now fetched it. It does indeed sit in
tip/x86/pat.
Rene.