Re: Patch: 2.5.62 devfs shrink

From: Adam J. Richter (adam@yggdrasil.com)
Date: Thu Feb 27 2003 - 21:49:13 EST


On Fri, 28 Feb 2003, Andrew Walrond wrote:
>I assume you meant devfs_helper here:

> > devfsd is not a deamon. Instead, the new devfs invokes devfs_helper
> ------

        Right. I've checked in the fix. Thanks.

>Looks good to me. I want to give this another whirl, but your latest
>patch doesn't apply cleanly against 2.5.63+ (fs/devfs/base.c fails). Any
>chance of an update?

        I've just come across a bug with in in 2.5.63 where
devfs_helper hangs while trying to down a semaphore. I think it is
doing down(&dir->i_sem) in some lookup routine in fs/namei.c.
I am trying to figure out what exactly inode->i_sem protects
so I can determine if it is OK for the routine that calls
defvs_helper to release it and reacquire it when devfs_helper
exits. Once I think I've fixed this, I'll post a new patch.

Adam J. Richter __ ______________ 575 Oroville Road
adam@yggdrasil.com \ / Milpitas, California 95035
+1 408 309-6081 | g g d r a s i l United States of America
                         "Free Software For The Rest Of Us."
-
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 28 2003 - 22:00:46 EST