From owner-freebsd-hackers Thu Nov 19 03:35:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA17464 for freebsd-hackers-outgoing; Thu, 19 Nov 1998 03:35:03 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from faber.elte.hu (faber.elte.hu [157.181.78.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA17451 for ; Thu, 19 Nov 1998 03:34:58 -0800 (PST) (envelope-from DBECK@ludens.elte.hu) Received: from ludens.elte.hu by ludens.elte.hu (MX V4.2 VAX) with SMTP; Thu, 19 Nov 1998 12:32:54 +0100 Date: Thu, 19 Nov 1998 12:32:31 +0000 From: David Beck To: freebsd-hackers@FreeBSD.ORG Subject: SYSV Semaphores & mmap problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All, this is my first turn up in this list, big Hi to All. Sorry for sending mail outside from the list but the list server ignores my mails from my regular account... I ran into two problems with FreeBSD: 1., If I create a program with a few threads and then I block one thread with a SYSV semaphore, then it blocks all threads. Any ideas ? 2., My freebsd box rebooted after I managed to run a multi-process server program which serves a readonly memory database mmaped by all the running 'memory server' instnaces. The size of the db is about 20 Megs. It is an ordered array of key/value pairs and the program actually using a binary search on it. After some investigation I found that this came from these lines in i386/i386/pmap.c: 1461 if (!TAILQ_FIRST(&pv_freelist)) 1462 panic("get_pv_entry: cannot get a pv_entry_t"); This really makes me wondering at first why does the kernel reboot the whole system instead of signaling the process ? Next, I'm wondering if there are any strategies to change this pv interface in the future or it is the time to start hacking :) ? Cheers, David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message