Re: [PATCH] Fix procfs task exe symlink

2008-01-28 Thread Matt Helsley
On Sat, 2008-01-26 at 22:03 -0800, Andrew Morton wrote: > > On Wed, 23 Jan 2008 10:29:37 -0800 Matt Helsley <[EMAIL PROTECTED]> wrote: > > > > Andrew, please consider this patch for inclusion in -mm. > > > > ... > > > > Can't say that we're particularly exercised about mvfs's problems, but the

Re: [PATCH] Fix procfs task exe symlink

2008-01-26 Thread Andrew Morton
> On Wed, 23 Jan 2008 10:29:37 -0800 Matt Helsley <[EMAIL PROTECTED]> wrote: > > Andrew, please consider this patch for inclusion in -mm. > > ... > Can't say that we're particularly exercised about mvfs's problems, but the current way of doing /proc/pid/exe is indeed a nasty hack. > > fs/binf

Re: [PATCH] Fix procfs task exe symlink

2008-01-24 Thread Erez Zadok
In message <[EMAIL PROTECTED]>, Jan Engelhardt writes: > > On Jan 23 2008 10:29, Matt Helsley wrote: > > > >For executables on the stackable MVFS filesystem the current procfs > >methods for implementing a task's exe symlink do not point to the > >correct file and applications relying on the symli

Re: [PATCH] Fix procfs task exe symlink

2008-01-23 Thread David Howells
Matt Helsley <[EMAIL PROTECTED]> wrote: > To solve the problem this patch changes the way that the kernel resolves a > task's exe symlink. Instead of walking the VMAs to find the first > executable file-backed VMA we store a reference to the exec'd file in the > mm_struct -- /foo/bar/jvm/bin/java

Re: [PATCH] Fix procfs task exe symlink

2008-01-23 Thread Christoph Hellwig
On Wed, Jan 23, 2008 at 10:29:37AM -0800, Matt Helsley wrote: > For executables on the stackable MVFS filesystem the current procfs methods > for > implementing a task's exe symlink do not point to the correct file and > applications relying on the symlink fail (see the java example below). Dou y

Re: [PATCH] Fix procfs task exe symlink

2008-01-23 Thread Jan Engelhardt
On Jan 23 2008 10:29, Matt Helsley wrote: > >For executables on the stackable MVFS filesystem the current procfs >methods for implementing a task's exe symlink do not point to the >correct file and applications relying on the symlink fail (see the >java example below). This reminds me of unoionfs