Re: [RFC][PATCH 0/7 + tools] Checkpoint/restore mostly in the userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 22, 2011 at 08:29:45PM -0700, Matt Helsley wrote:
> On Fri, Jul 22, 2011 at 05:25:58PM -0700, Matt Helsley wrote:
> You'd have to output the fd number for each epoll item plus the path to
> the file. The fd,file pair in the item is not strictly tied to
> the contents of the processes' fd table yet the item fd has to be output
> since it's the number userspace will supply to epoll_ctl(EPOLL_CTL_DEL...).

I haven't really looked at it but if @fd is key, @fd should be enough.
You can determine what @fd is and it attributes from /proc/PID/fd/ and
/proc/PID/fdinfo/.  No reason to list them again.

-- 
tejun
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux