diff options
author | Hugh Dickins <hugh@veritas.com> | 2008-09-07 04:51:33 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-07 11:40:00 -0400 |
commit | bb577f980ef35e2b0d00aeed566724e5032aa5eb (patch) | |
tree | 2c9016f7811fb3ea80bbbc8d9856c217110695b7 /arch/x86/mm/init_64.c | |
parent | 5394f80f92642c61fc2a95385be85f2fdcfb5adb (diff) |
x86: add periodic corruption check
Perodically check for corruption in low phusical memory. Don't bother
checking at fault time, since it won't show anything useful.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/init_64.c')
-rw-r--r-- | arch/x86/mm/init_64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index d3746efb060d..f4db5276fa21 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -769,6 +769,8 @@ void __init mem_init(void) | |||
769 | { | 769 | { |
770 | long codesize, reservedpages, datasize, initsize; | 770 | long codesize, reservedpages, datasize, initsize; |
771 | 771 | ||
772 | start_periodic_check_for_corruption(); | ||
773 | |||
772 | pci_iommu_alloc(); | 774 | pci_iommu_alloc(); |
773 | 775 | ||
774 | /* clear_bss() already clear the empty_zero_page */ | 776 | /* clear_bss() already clear the empty_zero_page */ |