From owner-freebsd-threads@FreeBSD.ORG Mon Jul 14 17:16:38 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAADA37B401 for ; Mon, 14 Jul 2003 17:16:38 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DA0343FA3 for ; Mon, 14 Jul 2003 17:16:38 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h6F0GaAI010996; Mon, 14 Jul 2003 20:16:36 -0400 (EDT) Date: Mon, 14 Jul 2003 20:16:36 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Kai Mosebach In-Reply-To: <002701c34a5e$29cc6c30$0100000a@alpha> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: truss says null() X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 00:16:39 -0000 On Tue, 15 Jul 2003, Kai Mosebach wrote: > Hi, > > could anyone give me a hint what this program might be doing ? > > regards Kai > > [root@devil:/usr/sapdb/src/FreeBSD] # truss -p 96257 > > (null)() = 383 (0x17f) > kse_release(0x87cbfb4) = 383 (0x17f) > kse_release(0x87cbfb4) = 383 (0x17f) [ ... ] The KSEs (their appear to be at least 3 of them) are waiting for work. The lone kse_wakeup() is trying to wake one up, but it doesn't appear to be woken at least in this snippet. The parameter to kse_release() and kse_wakeup() is the address of the KSE's mailbox (each KSE has one mailbox). I don't know what the (null)'s are. What does ktrace show? -- Dan Eischen