Date: Tue, 9 Jul 2002 04:56:11 -0700 (PDT) From: Don Lewis <dl-freebsd@catspoiler.org> To: arr@FreeBSD.org, jake@FreeBSD.org Cc: current@FreeBSD.org Subject: /usr/src/sys/vm/uma_core.c:1332: could sleep with "kernel linker" locked from /usr/src/sys/kern/kern_linker.c:1797 Message-ID: <200207091156.g69BuBwr003693@gw.catspoiler.org>
next in thread | raw e-mail | index | archive | help
I recently started seeing the warning message:
/usr/src/sys/vm/uma_core.c:1332: could sleep with "kernel linker" locked
from /usr/src/sys/kern/kern_linker.c:1797
at boot time on my -current box. It appears to be related to the
changes in rev 1.90 of kern_linker.c.
I suspect that memory is getting allocted inside this loop in
sysctl_kern_function_list():
mtx_lock(&kld_mtx);
TAILQ_FOREACH(lf, &linker_files, link) {
error = LINKER_EACH_FUNCTION_NAME(lf,
sysctl_kern_function_list_iterate, req);
if (error) {
mtx_unlock(&kld_mtx);
return (error);
}
}
mtx_unlock(&kld_mtx);
but I got lost in a maze of twisty little passages.
And where the heck is LINKER_EACH_FUNCTION_NAME defined? This is the
only occurence of this string in the entire /usr/src tree ...
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207091156.g69BuBwr003693>
