]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: mtrr_cleanup hole size should be less than half of chunk_size, v2
authorYinghai Lu <yhlu.kernel@gmail.com>
Sun, 28 Sep 2008 03:26:06 +0000 (20:26 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 28 Sep 2008 07:12:27 +0000 (09:12 +0200)
commit8f0afaa58e912bbe7d5b0bad9fb024337edf363e
tree11d5a33258fb4871958bf5d50b0ce5494aaac56f
parent54d45ff4208836e62536fc40b0141586dbf6641f
x86: mtrr_cleanup hole size should be less than half of chunk_size, v2

v2: should check with half of range0 size instead of chunk_size

So don't have silly big hole.

in hpa's case we could auto detect instead of adding mtrr_chunk_size in
command line.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mtrr/main.c