[PATCH] x86: Decrease the level of some NUMA messages to KERN_DEBUG

From: Rafael J. Wysocki
Date: Fri Sep 04 2009 - 19:07:31 EST


From: Rafael J. Wysocki <rjw@xxxxxxx>

Some NUMA messages in srat_32.c are confusing to users, because they
seem to indicate errors, while in fact they reflect normal behaviour.

Decrease the level of these messages to KERN_DEBUG so that they don't
show up unnecessarily.

Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
---
arch/x86/mm/srat_32.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6/arch/x86/mm/srat_32.c
===================================================================
--- linux-2.6.orig/arch/x86/mm/srat_32.c
+++ linux-2.6/arch/x86/mm/srat_32.c
@@ -215,7 +215,7 @@ int __init get_memcfg_from_srat(void)
goto out_fail;

if (num_memory_chunks == 0) {
- printk(KERN_WARNING
+ printk(KERN_DEBUG
"could not find any ACPI SRAT memory areas.\n");
goto out_fail;
}
@@ -277,7 +277,7 @@ int __init get_memcfg_from_srat(void)
}
return 1;
out_fail:
- printk(KERN_ERR "failed to get NUMA memory information from SRAT"
+ printk(KERN_DEBUG "failed to get NUMA memory information from SRAT"
" table\n");
return 0;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/