Skip to contentSkip to conversation

x86: Decrease the level of some NUMA messages to KERN_DEBUG

PATCH In review Rafael J. Wysocki 1 participant 2 messages Sep 4, 2009 – Sep 6, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: Decrease the level of some NUMA messages to KERN_DEBUG

From: Rafael J. Wysocki <[email protected]>

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.

---
 arch/x86/mm/srat_32.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/mm/srat_32.c +2 -2
Index: 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;
 }
#1 lore raw
Commit-ID:  23b6c52cf558f2a1dc6c7010c601b3624eb4591f
Gitweb:     http://git.kernel.org/tip/23b6c52cf558f2a1dc6c7010c601b3624eb4591f
Author:     Rafael J. Wysocki <[email protected]>
AuthorDate: Sat, 5 Sep 2009 01:07:45 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Sun, 6 Sep 2009 06:32:23 +0200

x86: Decrease the level of some NUMA messages to KERN_DEBUG

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.

LKML-Reference: <[email protected]>

---
 arch/x86/mm/srat_32.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/mm/srat_32.c +2 -2
index 29a0e37..6f8aa33 100644
@@ -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;
 }