Commit 5bf83eaf authored by Alexander Kartashov's avatar Alexander Kartashov Committed by Pavel Emelyanov

mem: don't screen page dump failure

This patch prevents page dump failure screening
by the PARASITE_CMD_MPROTECT_VMAS command success.
Signed-off-by: 's avatarAlexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1ef1c80f
...@@ -457,8 +457,7 @@ int parasite_dump_pages_seized(struct parasite_ctl *ctl, ...@@ -457,8 +457,7 @@ int parasite_dump_pages_seized(struct parasite_ctl *ctl,
pr_err("Can't dump page with parasite\n"); pr_err("Can't dump page with parasite\n");
pargs->add_prot = 0; pargs->add_prot = 0;
ret = parasite_execute_daemon(PARASITE_CMD_MPROTECT_VMAS, ctl); if (parasite_execute_daemon(PARASITE_CMD_MPROTECT_VMAS, ctl)) {
if (ret) {
pr_err("Can't rollback unprotected vmas with parasite\n"); pr_err("Can't rollback unprotected vmas with parasite\n");
ret = -1; ret = -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment