commit | 80c5e73d6028e0f03ab0c70e7c4cbf98ac2e0c43 | [log] [tgz] |
---|---|---|
author | Venki Pallipadi <venkatesh.pallipadi@intel.com> | Tue Aug 19 16:28:01 2008 -0700 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Aug 20 12:08:37 2008 +0200 |
tree | b1ae13cc96dd94e7090942e5602df6277a4126e4 | |
parent | c6744955d0ec0cb485c28c51eeb7185e260f6172 [diff] |
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>