]> git.baikalelectronics.ru Git - kernel.git/commit
x86: mtrr_cleanup: first 1M may be covered in var mtrrs
authorYinghai Lu <yhlu.kernel@gmail.com>
Sat, 4 Oct 2008 21:50:32 +0000 (14:50 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 5 Oct 2008 03:09:14 +0000 (20:09 -0700)
commit0c091fee914ec48b370bd3130bce60826f175d5f
treef856dd2dd02d6986f590eb47b2fe3cf814807b57
parentd83e997ef6bfd6fd908366edc164d5fd844e46d7
x86: mtrr_cleanup: first 1M may be covered in var mtrrs

The first 1M is don't care when it comes to the variables MTRRs.
Cover it as WB as a heuristic approximation; this is generally what we
want to minimize the number of registers.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mtrr/main.c