Re: LOCK_PROFILING

Pramod Srinivasan <[email protected]> Fri, 21 Aug 2009 02:10:02 -0700
Newsgroups gmane.os.freebsd.devel.smp
Message-ID <C6B3B27A.15FB1%[email protected]>
Hi John,

On 8/19/09 4:57 AM, "John Baldwin" <[email protected]> wrote:
>=20
> It sounds like a tripe fault.  I suspect you are recursing on your stack
> somehow leading to a double fault that faults again trying to get a lock =
to
> output to the console perhaps (that would explain the lack of double faul=
t
> messages if that were the case).  Perhaps a lock used in the profiling is
> incorrectly being profiled?

Yes, this is right!!

The clock_lock was not initialized with MTX_NOPROFILE, and we ended up
profiling the clock_lock recursively until we overflowed the stack. Thanks
for pointing out.

Thanks,
Pramod

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-smp
To unsubscribe, send any mail to "[email protected]"