terminate(): don't call free_all_process_memory_range

refs #816
This commit is contained in:
Tomoki Shirasawa
2017-03-08 14:30:28 +09:00
parent 1076010de4
commit d8112f92f8

View File

@@ -957,7 +957,6 @@ terminate(int rc, int sig)
mcs_rwlock_writer_unlock(&proc->threads_lock, &lock);
vm = proc->vm;
free_all_process_memory_range(vm);
if (proc->saved_cmdline) {
kfree(proc->saved_cmdline);