]> 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)
commit7fddc5812a9e115f3a833014808790a73cc18b6d
tree427c45877e2d8c48f221bf9b0cd0ddd394231b86
parent920fb069aa5339ec15d3f4ba5a6f3f348600b8ce
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