Date: Fri, 7 Feb 2003 22:39:28 -0800 (PST) From: Arun Sharma <adsharma@sharma-home.net> To: FreeBSD-gnats-submit@freebsd.org Cc: smp@freebsd.org Subject: Enabling mutex profiling panics the kernel Message-ID: <20030208063928.9D5F13B@astra.mirabella.net>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Arun Sharma >Organization: >Confidential: no >Synopsis: Enabling mutex profiling panics the kernel >Severity: non-critical >Priority: medium >Category: kern >Class: sw-bug >Release: FreeBSD 5.0-CURRENT i386 >Environment: System: FreeBSD astra.mirabella.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Jan 25 18:25:49 PST 2003 root@astra.mirabella.net:/usr/src/sys/i386/compile/astra i386 >Description: Enabling mutex profiling panics the kernel. >How-To-Repeat: # sysctl debug.mutex.profiling.enable=1 # sysctl debug.mutex >Fix: The problem is caused by holding the mprof_mtx and calling printf, which results in a blockable malloc(). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030208063928.9D5F13B>