[CRIU] [PATCH 10/16] mem/pmc: Use pr_warn_once if cache is disabled
Cyrill Gorcunov
gorcunov at gmail.com
Fri Jul 5 18:38:05 MSK 2019
No need to spam on every pmc_init call.
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
criu/pagemap-cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/criu/pagemap-cache.c b/criu/pagemap-cache.c
index a1c2d42f4dfd..c8077612330a 100644
--- a/criu/pagemap-cache.c
+++ b/criu/pagemap-cache.c
@@ -56,7 +56,7 @@ int pmc_init(pmc_t *pmc, pid_t pid, const struct list_head *vma_head, size_t siz
goto err;
if (pagemap_cache_disabled)
- pr_debug("The pagemap cache is disabled\n");
+ pr_warn_once("The pagemap cache is disabled\n");
if (kdat.pmap == PM_DISABLED) {
/*
--
2.20.1
More information about the CRIU
mailing list