]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit641e9598985a703551c608761fc68cbd1c176a1a
tree427c45877e2d8c48f221bf9b0cd0ddd394231b86
parent450bd4d9b2a42af49fae1dd81cc1df23a8c1a9d4
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