Commit 323ff853 authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka
Browse files

sched: ipipe: announce task exit

Emit IPIPE_KEVT_EXIT from do_exit() to the co-kernel before the
current task has dropped the files and mappings it owns.
parent 7b099da6
......@@ -57,6 +57,7 @@
#include <trace/events/sched.h>
#include <linux/hw_breakpoint.h>
#include <linux/oom.h>
#include <linux/ipipe.h>
#include <linux/writeback.h>
#include <linux/shm.h>
#include <linux/kcov.h>
......@@ -765,6 +766,7 @@ void __noreturn do_exit(long code)
}
exit_signals(tsk); /* sets PF_EXITING */
__ipipe_report_exit(tsk);
/* sync mm's RSS info before statistics gathering */
if (tsk->mm)
......
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