[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvz-criu
Subject:    [CRIU] [PATCH 08/14] files: Restore epolls lately
From:       gorcunov () openvz ! org (Cyrill Gorcunov)
Date:       2012-04-29 9:14:58
Message-ID: 1335705282-18628-9-git-send-email-gorcunov () openvz ! org
[Download RAW message or body]


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@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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic