Re: [PATCH] lock stat for -rt 2.6.20-rc2-rt2.2.lock_stat.patch

From: hui
Date: Wed Jan 03 2007 - 20:28:31 EST


On Wed, Jan 03, 2007 at 05:11:04PM -0800, Chen, Tim C wrote:
> Bill Huey (hui) wrote:
> >
> > Thanks, the numbers look a bit weird in that the first column should
> > have a bigger number of events than that second column since it is a
> > special case subset. Looking at the lock_stat_note() code should show
> > that to be the case. Did you make a change to the output ?
>
> No, I did not change the output. I did reset to the contention content
>
> by doing echo "0" > /proc/lock_stat/contention.
>
> I noticed that the first column get reset but not the second column. So
> the reset code probably need to be checked.

This should have the fix.

http://mmlinux.sf.net/public/patch-2.6.20-rc2-rt2.3.lock_stat.patch

If you can rerun it and post the results, it'll hopefully show the behavior
of that lock acquisition better.

Thanks

bill

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