]> Zhao Yanbai Git Server - minix.git/commit
SEF: query VM about holes during state transfer 23/3123/1
authorDavid van Moolenbroek <david@minix3.org>
Sat, 18 Jul 2015 11:04:34 +0000 (13:04 +0200)
committerDavid van Moolenbroek <david@minix3.org>
Thu, 17 Sep 2015 13:43:06 +0000 (13:43 +0000)
commit2867e60addd3b3319adf332c8112dff145e112c8
tree09f7dc81a1f488239f6109c52925bb66bee87c15
parent683f1fcab3186bd983c6d08d57fa1cda0d896be7
SEF: query VM about holes during state transfer

The 'memory' service has holes in its data section, which causes
problems during state transfer.  Since VM cannot handle page faults
during a multicomponent-with-VM live update, the state transfer must
ensure that no page faults occur during copying.  Therefore, we now
query VM about the regions to copy, thus skipping holes.  While the
solution is not ideal, it is sufficiently generic that it can be used
for the data section state transfer of all processes, and possibly
for state transfer of other regions in the future as well.

Change-Id: I2a71383a18643ebd36956c396fbd22c8fd137202
minix/drivers/storage/memory/memory.c
minix/include/minix/ipc_filter.h
minix/include/minix/sef.h
minix/lib/libsys/sef_init.c
minix/lib/libsys/sef_st.c
minix/servers/vm/main.c