mm/page_alloc: switch to pr_debug
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 29 Jun 2021 02:41:31 +0000 (19:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Jun 2021 17:53:53 +0000 (10:53 -0700)
commit9660ecaa79ce5c068aa3138ca7e29a9402f284ed
tree427c45877e2d8c48f221bf9b0cd0ddd394231b86
parent1cfcee728391ece94a75e4b17fa87253d40c2185
mm/page_alloc: switch to pr_debug

Having such debug messages in the dmesg log may confuse users.  Therefore
restrict debug output to cases where DEBUG is defined or dynamic debugging
is enabled for the respective code piece.

Link: https://lkml.kernel.org/r/976adb93-3041-ce63-48fc-55a6096a51c1@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c