Re: [RFC][PATCH 2.4.17] Your suggestions for fast path walk

From: Hanna Linder (hannal@us.ibm.com)
Date: Fri Feb 15 2002 - 20:17:34 EST


--On Friday, February 15, 2002 11:33:19 -0800 Paul Menage <pmenage@ensim.com> wrote:

> One obvious problem with it is that __emul_lookup_dentry()[1] calls
> path_walk() internally, and the nd passed has uncounted references and
> no LOOKUP_LOCKED flag - I suspect that this will cause reference counts
> to get mucked up.

Paul,

        Thanks again for your comments. You are right, the d_count is
getting mucked up through the __emul_lookup_dentry() path. I also
discovered some problems with the way I was taking the dcache_lock.
So I will go back and try to fix those.
        I saw your patch for path_lookup. The next version of fast walk
will include those changes (I had started making the changes before seeing
your patch anyway).
        
Hanna

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:01:11 EST