Re: [PATCH] [2.6.24-rc3-mm1] loop cleanup in fs/namespace.c - repost

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Dmitri Vorobiev <dmitri.vorobiev@...>, <zach.brown@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Monday, November 26, 2007 - 6:30 am

On Wed, Nov 21, 2007 at 03:24:33PM -0800, Andrew Morton wrote:

BTW, I have a problem with that one.  The change is misleading; FWIW,
I'm very tempted to turn that into tail recursion, with

	if (!atomic_dec_and_lock(&mnt->mnt_count, &vfsmount_lock))
		return;

in the very beginning (i.e. invert the test and pull the body to top level).
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH]loop cleanup in fs/namespace.c - repost, Dmitri Vorobiev, (Wed Nov 21, 1:57 pm)
Re: [PATCH]loop cleanup in fs/namespace.c - repost, Zach Brown, (Wed Nov 21, 3:06 pm)
Re: [PATCH]loop cleanup in fs/namespace.c - repost, Dmitri Vorobiev, (Wed Nov 21, 3:54 pm)
Re: [PATCH]loop cleanup in fs/namespace.c - repost, Zach Brown, (Wed Nov 21, 4:46 pm)
Re: [PATCH] [2.6.24-rc3-mm1] loop cleanup in fs/namespace.c ..., Al Viro, (Mon Nov 26, 6:30 am)