From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Emelyanov Subject: Re: [patch 5/8] fs, epoll: Add procfs fdinfo helper v2 Date: Tue, 14 Aug 2012 18:22:58 +0400 Message-ID: <502A5F42.3080301@parallels.com> References: <20120814140342.354405844@openvz.org> <20120814140620.191720208@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , Alexey Dobriyan , James Bottomley , Matthew Helsley To: Cyrill Gorcunov , Al Viro , Andrew Morton Return-path: In-Reply-To: <20120814140620.191720208@openvz.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 08/14/2012 06:03 PM, Cyrill Gorcunov wrote: > This allow us to print out eventpoll target file descriptor, > events and data, the /proc/pid/fdinfo/fd consists of > > | pos: 0 > | flags: 02 > | tfd: 5 events: 1d data: ffffffffffffffff > > This feature is CONFIG_CHECKPOINT_RESTORE only. > > v2: > - don't walk over all rb nodes on seq-next, > try to continue from pervious position > > Signed-off-by: Cyrill Gorcunov > CC: Al Viro > CC: Alexey Dobriyan > CC: Andrew Morton > CC: Pavel Emelyanov > CC: James Bottomley > CC: Matthew Helsley Acked-by: Pavel Emelyanov