aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2008-10-05 15:09:03 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-27 13:09:45 -0400
commit304e629bf4a3150a0bf6556fc45c52c5c082340f (patch)
tree26fb35d1e1b3c44411b0198a484e65f7f466bcee /arch/x86/mm
parent6784f7d0a5016a397d38be1134e63fc784c1ca8e (diff)
x86: corruption check: run the corruption checks from a work queue
Impact: change the implementation of the debug feature the periodic corruption checks are better off run from a work queue; there's nothing time critical about them and this way the amount of interrupt-context work is reduced. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r--arch/x86/mm/init_32.c2
-rw-r--r--arch/x86/mm/init_64.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
index 8396868e82c5..5e6377560ff1 100644
--- a/arch/x86/mm/init_32.c
+++ b/arch/x86/mm/init_32.c
@@ -970,8 +970,6 @@ void __init mem_init(void)
970 int codesize, reservedpages, datasize, initsize; 970 int codesize, reservedpages, datasize, initsize;
971 int tmp; 971 int tmp;
972 972
973 start_periodic_check_for_corruption();
974
975#ifdef CONFIG_FLATMEM 973#ifdef CONFIG_FLATMEM
976 BUG_ON(!mem_map); 974 BUG_ON(!mem_map);
977#endif 975#endif
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index b8e461d49412..d6ef1589b95a 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -879,8 +879,6 @@ void __init mem_init(void)
879{ 879{
880 long codesize, reservedpages, datasize, initsize; 880 long codesize, reservedpages, datasize, initsize;
881 881
882 start_periodic_check_for_corruption();
883
884 pci_iommu_alloc(); 882 pci_iommu_alloc();
885 883
886 /* clear_bss() already clear the empty_zero_page */ 884 /* clear_bss() already clear the empty_zero_page */