lkml.org 
[lkml]   [2011]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] fs, proc: Introduce the /proc/<pid>/map_files/ directory v2
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


\
 
 \ /
  Last update: 2011-08-24 11:37    [W:0.340 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site