From fd5a1c4b0a4f7c70e8e70523c7222d9eafaf7764 Mon Sep 17 00:00:00 2001 From: Balazs Gerofi Date: Mon, 21 Dec 2020 09:48:16 +0900 Subject: [PATCH] TO RESET: send SIGSTOP instead of SIGV in PF Change-Id: I5f7e07cb89f5f38b7c631d838f0eee0a2a98e246 --- kernel/mem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/mem.c b/kernel/mem.c index 53da5cdc..76250ad1 100644 --- a/kernel/mem.c +++ b/kernel/mem.c @@ -1478,9 +1478,9 @@ out_linux: preempt_enable(); #ifdef ENABLE_FUGAKU_DEBUG - //kprintf("%s: sending SIGSTOP to TID: %d\n", __func__, thread->tid); - //do_kill(thread, thread->proc->pid, thread->tid, SIGSTOP, NULL, 0); - //goto out; + kprintf("%s: sending SIGSTOP to TID: %d\n", __func__, thread->tid); + do_kill(thread, thread->proc->pid, thread->tid, SIGSTOP, NULL, 0); + goto out; #endif memset(&info, '\0', sizeof info);