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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to