From owner-freebsd-hackers Thu May 11 19: 2: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from io.yi.org (24.67.218.186.bc.wave.home.com [24.67.218.186]) by hub.freebsd.org (Postfix) with ESMTP id 4B41237BC41 for ; Thu, 11 May 2000 19:01:56 -0700 (PDT) (envelope-from jburkhol@home.com) Received: from io.yi.org (localhost.gvcl1.bc.wave.home.com [127.0.0.1]) by io.yi.org (Postfix) with ESMTP id C718DBCA7; Thu, 11 May 2000 19:01:54 -0700 (PDT) X-Mailer: exmh version 2.1.1 10/15/1999 To: Jin Guojun (FTG staff) Cc: hackers@FreeBSD.ORG, jake@io.yi.org Subject: Re: kernel SMP thread In-Reply-To: Message from Jin Guojun (FTG staff) of "Thu, 11 May 2000 08:45:18 PDT." <200005111545.IAA17567@george.lbl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 11 May 2000 19:01:54 -0700 From: Jake Burkholder Message-Id: <20000512020154.C718DBCA7@io.yi.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Jordan said that the kernel SMP thread is ready in CURRENT FreeBSD, > but I could not find any document for the SMP kthread. > > By looking at the kern/kern_kthread.c code, it does not look like a SMP > thread, and does not even have mutex functions in there. > > Does any one happen to know where is the SMP kthread functions? specially > the mutex functions or thread locking mechanism for kernel thread? I have a simple implementation of mutexes and condition variables on my web page, you are welcome to it. http://io.yi.org Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message