From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: [RFC] fs, proc: Introduce the /proc//map_files/ directory v2 Date: Wed, 24 Aug 2011 13:37:52 +0400 Message-ID: <20110824093752.GM29452@sun> References: <20110824085329.GL29452@sun> <20110824093431.GA3286@htj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Nathan Lynch , Oren Laadan , Daniel Lezcano , Andrew Morton , Glauber Costa , containers@lists.osdl.org, linux-kernel@vger.kernel.org, Pavel Emelyanov , Serge Hallyn , LINUXFS-ML , James Bottomley To: Tejun Heo Return-path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:53949 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751395Ab1HXJjn (ORCPT ); Wed, 24 Aug 2011 05:39:43 -0400 Content-Disposition: inline In-Reply-To: <20110824093431.GA3286@htj.dyndns.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Aug 24, 2011 at 11:34:31AM +0200, Tejun Heo wrote: > Hello, > > On Wed, Aug 24, 2011 at 12:53:29PM +0400, Cyrill Gorcunov wrote: > > +static const struct dentry_operations tid_map_files_dentry_operations = { > > + .d_revalidate = pid_revalidate, > > + .d_delete = pid_delete_dentry, > > +}; > > Why pid_revalidate? Shouldn't it be verifying the entry against the > current vmas? vmas (of course) can change while the process is > running. > > Thanks. > Hmm, good point, letme check... Cyrill