Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 20:54:13 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        David Xu <davidxu@FreeBSD.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: kernel panic
Message-ID:  <Pine.BSF.4.21.0209132051470.80315-100000@InterJet.elischer.org>
In-Reply-To: <200209140328.g8E3S7xf061303@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
A you might check:
in sys/kern/kern_thread.c
in thread_init()
@@ -152,7 +155,9 @@
            ("size mismatch: %d != %d\n", size, (int)sizeof(struct
thread)));

        td = (struct thread *)mem;
+       mtx_lock(&Giant);
        pmap_new_thread(td);
+       mtx_unlock(&Giant);
        cpu_thread_setup(td);
        cached_threads++;       /* XXXSMP */
        allocated_threads++;    /* XXXSMP */



from the p4 tree by mini...





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?Pine.BSF.4.21.0209132051470.80315-100000>