VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Geert Uytterhoeven <geert@linux-m68k.org> 2020-12-15 20:43:01 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-12-15 22:46:16 -0800 commit: 0ae446e4b91b5a713fb189cf7f23d1a303057fd9 parent: ab7d7798dad5aae23bb502f1a6fc0d637b07dc47
Commit Summary:
lib/test_free_pages.c: add basic progress indicators
Diffstat:
1 file changed, 5 insertions, 0 deletions
diff --git a/lib/test_free_pages.c b/lib/test_free_pages.c
index 074e76bd76b2..25ae1ac2624a 100644
--- a/lib/test_free_pages.c
+++ b/lib/test_free_pages.c
@@ -5,6 +5,8 @@
  * Author: Matthew Wilcox <willy@infradead.org>
  */
 
+#define pr_fmt(fmt)	KBUILD_MODNAME ": " fmt
+
 #include <linux/gfp.h>
 #include <linux/mm.h>
 #include <linux/module.h>
@@ -26,8 +28,11 @@ static void test_free_pages(gfp_t gfp)
 
 static int m_in(void)
 {
+	pr_info("Testing with GFP_KERNEL\n");
 	test_free_pages(GFP_KERNEL);
+	pr_info("Testing with GFP_KERNEL | __GFP_COMP\n");
 	test_free_pages(GFP_KERNEL | __GFP_COMP);
+	pr_info("Test completed\n");
 
 	return 0;
 }