[CRIU] [PATCH 08/14] files: Restore epolls lately

Cyrill Gorcunov gorcunov at openvz.org
Sun Apr 29 09:14:36 EDT 2012


We need to restore epolls lately since they might
use sockets/pipes/reg-files.

For this sake collect_fd splited to two functions,
collect_fd itself and alloc_fdinfo_list_entry.

Firstly we allocate fdinfo_list_entry and then
either collect it immediately if it's not epoll
file or postpone collecting.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 files.c |   71 +++++++++++++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 53 insertions(+), 18 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-files-Restore-epolls-lately.patch
Type: text/x-patch
Size: 2621 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120429/523cfbcc/0008-files-Restore-epolls-lately-0001.bin


More information about the CRIU mailing list