[Devel] [PATCH RFC 0/5] Shrink big fdtable on criu restore

Cyrill Gorcunov gorcunov at virtuozzo.com
Wed Jan 17 11:44:32 MSK 2018


On Fri, Jan 12, 2018 at 06:45:58PM +0300, Kirill Tkhai wrote:
> Hi,
> 
> this patchset allows to avoid memory overuse introduced
> by service fds on criu restore. The solution is simple:
> smartly check for closed fd number, and shrink fdtable
> if this could be made. The checks are happen in is_pseudosuper
> mode, so we do not affect performance on normal work mode.
> 
> The problem is we can't solve this for 100% case in userspace.
> Kernel allows to fix that completely.
> 
> What do you think?
> 
> https://jira.sw.ru/browse/PSBM-78827
Reviewed-by: Cyrill Gorcunov <gorcunov at openvz.org>


More information about the Devel mailing list