]> git.baikalelectronics.ru Git - kernel.git/commit
lib/test_free_pages.c: add basic progress indicators
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 16 Dec 2020 04:43:01 +0000 (20:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2020 06:46:16 +0000 (22:46 -0800)
commitb9488d0df29690d76887972c9519a55486511ffa
treeb5251dc5a29b9e41cdc4b4b558fbddcd64fdbbd2
parent8f21726c431761341d69750fd6181bb8ff131afe
lib/test_free_pages.c: add basic progress indicators

The test module to check that free_pages() does not leak memory does not
provide any feedback whatsoever its state or progress, but may take some
time on slow machines.  Add the printing of messages upon starting each
phase of the test, and upon completion.

Link: https://lkml.kernel.org/r/20201018140445.20972-1-geert@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/test_free_pages.c