x86: have set_memory_array_{uc,wb} coalesce memtypes.
authorRene Herman <rene.herman@keyaccess.nl>
Thu, 21 Aug 2008 23:02:20 +0000 (01:02 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 22 Aug 2008 04:07:32 +0000 (06:07 +0200)
commitc5e147cf5aeb31aa1a9030be9727914855fc4133
tree629ef413be79bb1b58a3951f92b9dc6efe7af8f9
parent9a79f4f491f92bc713e1f28f96516b141b752600
x86: have set_memory_array_{uc,wb} coalesce memtypes.

Actually, might as well simply reconstruct the memtype list at free time
I guess. How is this for a coalescing version of the array functions?

Compiles, boots and provides me with:

  root@7ixe4:~# wc -l /debug/x86/pat_memtype_list
  53 /debug/x86/pat_memtype_list

otherwise (down from 16384+).

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pageattr.c