genode/repos/os/src
Norman Feske e0e9b3b32e init: close all sessions of exited children
With this patch, init responds to the exit of a child by closing all
sessions of the child. E.g., if a child is a GUI application, its
nitpicker session is closed at the time of exit, not at the time when
the start node disappears from init's configuration.

Since this change requires a modification of the 'Genode::Child' class,
it takes the chance to make the child-destruction less brutal. The
new version ensures that all threads of the destructed subsystem are
destructed before other sessions, in particular PD sessions. This
eliminates spurious page-fault warnings during the child destruction.

On Fiasco.OC, closing the CPU session of a thread while being called by
the thread causes a deadlock. Hence, we skip the eager destruction of
CPU sessions on this kernel.

Related to issue #2659
2018-02-09 13:31:27 +01:00
..
app trace_subject_reporter: adjust ram usage 2018-02-09 13:26:02 +01:00
drivers gpu: the Intel multiplexer is only for x86_64 2018-01-17 12:14:43 +01:00
init init: close all sessions of exited children 2018-02-09 13:31:27 +01:00
lib net-stat: remove as it is not used and outdated 2018-01-17 12:14:42 +01:00
server net: check packet data size in accessor 2018-01-17 12:14:41 +01:00
test test/xml_node: test Xml_node::decoded_content 2018-02-09 13:26:01 +01:00