From owner-freebsd-hackers Sun Jul 7 15:58:30 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA20133 for hackers-outgoing; Sun, 7 Jul 1996 15:58:30 -0700 (PDT) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA20126 for ; Sun, 7 Jul 1996 15:58:28 -0700 (PDT) Received: from pdx1 (pdx1.world.net) by mail.crl.com with SMTP id AA03983 (5.65c/IDA-1.5 for ); Sun, 7 Jul 1996 15:58:05 -0700 Received: from suburbia.net (suburbia.net [203.4.184.1]) by pdx1 (8.6.9/8.6.9) with ESMTP id PAA18291 for ; Sun, 7 Jul 1996 15:56:54 -0700 Received: (proff@localhost) by suburbia.net (8.7.4/Proff-950810) id IAA05120 for freebsd-hackers@freebsd.org; Mon, 8 Jul 1996 08:55:27 +1000 From: Julian Assange Message-Id: <199607072255.IAA05120@suburbia.net> Subject: Re: filemalloc etc. for shared memory between processes To: freebsd-hackers@freebsd.org Date: Mon, 8 Jul 1996 08:55:27 +1000 (EST) In-Reply-To: from "Ron G. Minnich" at Jul 7, 96 03:34:27 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > These allow you to set up a shared mapped file for use by multiple > processes in the malloc and calloc style. Tested and used extensively in > my latest DSM. Comments would be appreciated if I've made mistakes in here! > note that if the file exists it is used. I am about to develop one of these myself only a little more complex. Can anyone give me some advise on how I can force malloc (or equal) to use only a particular region of memory? i.e so if process1 maintains a hashed list, complete with string pointers to variable length strings in the nodes all children will be able to see this list? -- "Of all tyrannies a tyranny sincerely exercised for the good of its victims may be the most oppressive. It may be better to live under robber barons than under omnipotent moral busybodies, The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for own good will torment us without end, for they do so with the approval of their own conscience." - C.S. Lewis, _God in the Dock_ +---------------------+--------------------+----------------------------------+ |Julian Assange RSO | PO Box 2031 BARKER | Secret Analytic Guy Union | |proff@suburbia.net | VIC 3122 AUSTRALIA | finger for PGP key hash ID = | |proff@gnu.ai.mit.edu | FAX +61-3-98199066 | 0619737CCC143F6DEA73E27378933690 | +---------------------+--------------------+----------------------------------+