From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [RFC] fs, proc: Introduce the /proc//map_files/ directory v2 Date: Wed, 24 Aug 2011 11:34:31 +0200 Message-ID: <20110824093431.GA3286@htj.dyndns.org> References: <20110824085329.GL29452@sun> 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: Cyrill Gorcunov Return-path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:60631 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751557Ab1HXJef (ORCPT ); Wed, 24 Aug 2011 05:34:35 -0400 Content-Disposition: inline In-Reply-To: <20110824085329.GL29452@sun> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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. -- tejun