[CRIU] [PATCH 4/5] timerfd: Implement c/r procedure, v2

Cyrill Gorcunov gorcunov at gmail.com
Fri Jun 27 02:57:36 PDT 2014


On Fri, Jun 27, 2014 at 01:24:30AM +0400, Pavel Emelyanov wrote:
> On 06/27/2014 01:11 AM, Cyrill Gorcunov wrote:
> > On Fri, Jun 27, 2014 at 01:07:48AM +0400, Pavel Emelyanov wrote:
> >>> +
> >>> +		t = rst_mem_alloc(sizeof(*t), RM_PRIVATE);
> >>
> >> Why not in post_open callback of timerfd ops?
> > 
> > It must be sequential slab of restorer memory.
> 
> Make it the same as in tcp sockets: post_open_inet_sk->rst_tcp_socks_add.
> It copies memory, but a) there are quite a few of timerfd-s and b) we'll
> have more reasons to optimize this.

Attached.


More information about the CRIU mailing list