Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 1998 12:32:31 +0000
From:      David Beck <DBECK@ludens.elte.hu>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   SYSV Semaphores & mmap problems
Message-ID:  <Pine.VMS.3.91-vms-b4.981119121100.2524B-100000@ludens.elte.hu>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.VMS.3.91-vms-b4.981119121100.2524B-100000>