[PATCH] x86: have set_memory_array_{uc,wb} coalesce memtypes.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rene Herman
Date: Friday, August 22, 2008 - 1:02 pm

On 22-08-08 06:15, Ingo Molnar wrote:


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.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Mon Aug 4, 9:30 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Andreas Herrmann, (Wed Aug 6, 6:51 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Wed Aug 6, 1:57 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Mon Aug 11, 2:46 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Ingo Molnar, (Fri Aug 15, 7:22 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Fri Aug 15, 8:24 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Tue Aug 19, 3:11 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Ingo Molnar, (Tue Aug 19, 3:26 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Tue Aug 19, 7:19 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Venki Pallipadi, (Tue Aug 19, 12:07 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Tue Aug 19, 12:22 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Venki Pallipadi, (Tue Aug 19, 4:28 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Ingo Molnar, (Wed Aug 20, 3:04 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Ingo Molnar, (Wed Aug 20, 3:09 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Wed Aug 20, 3:50 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Wed Aug 20, 7:27 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Venki Pallipadi, (Wed Aug 20, 12:41 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Dave Airlie, (Wed Aug 20, 2:02 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Wed Aug 20, 2:16 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Wed Aug 20, 2:40 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Dave Airlie, (Wed Aug 20, 2:46 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Venki Pallipadi, (Wed Aug 20, 3:16 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Andi Kleen, (Wed Aug 20, 8:42 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Ingo Molnar, (Thu Aug 21, 5:06 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Rene Herman, (Thu Aug 21, 10:15 am)
Re: AGP and PAT (induced?) problem (on AMD family 6), Suresh Siddha, (Thu Aug 21, 2:13 pm)
RE: [PATCH] x86: {reverve,free}_memtype() take a physical ..., Pallipadi, Venkatesh, (Thu Aug 21, 3:16 pm)
RE: [PATCH] x86: {reverve,free}_memtype() take a physical ..., Pallipadi, Venkatesh, (Thu Aug 21, 3:57 pm)
Re: AGP and PAT (induced?) problem (on AMD family 6), Andi Kleen, (Thu Aug 21, 7:12 pm)
[PATCH] x86: have set_memory_array_{uc,wb} coalesce memtypes., Rene Herman, (Fri Aug 22, 1:02 pm)
AGP PAT issue., Rene Herman, (Wed Sep 10, 12:52 pm)
Re: AGP PAT issue., Ingo Molnar, (Thu Sep 11, 1:17 am)
Re: AGP PAT issue., Rene Herman, (Thu Sep 11, 1:30 am)
RE: AGP PAT issue., Pallipadi, Venkatesh, (Fri Sep 12, 5:26 pm)
Re: AGP PAT issue., Rene Herman, (Fri Sep 12, 5:44 pm)
Re: AGP PAT issue., Thomas Hellstrom, (Thu Oct 9, 8:53 am)
RE: AGP PAT issue., Pallipadi, Venkatesh, (Mon Oct 13, 10:10 am)
Re: AGP PAT issue., Thomas Hellström, (Mon Oct 13, 12:26 pm)