]> err.no Git - linux-2.6/commit
x86: fix Xorg startup/shutdown slowdown with PAT
authorVenki Pallipadi <venkatesh.pallipadi@intel.com>
Tue, 19 Aug 2008 23:28:01 +0000 (16:28 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 20 Aug 2008 10:08:37 +0000 (12:08 +0200)
commit80c5e73d6028e0f03ab0c70e7c4cbf98ac2e0c43
treeb1ae13cc96dd94e7090942e5602df6277a4126e4
parentc6744955d0ec0cb485c28c51eeb7185e260f6172
x86: fix Xorg startup/shutdown slowdown with PAT

Rene Herman reported significant Xorg startup/shutdown slowdown due
to PAT. It turns out that the memtype list has thousands of entries.

Add cached_entry to list add routine, in order to speed up the
lookup for sequential reserve_memtype calls.

Reported-by: Rene Herman <rene.herman@keyaccess.nl>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pat.c