From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 12 19:14:44 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A01D106566B for ; Wed, 12 Mar 2008 19:14:44 +0000 (UTC) (envelope-from nikhil.rao@intel.com) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx1.freebsd.org (Postfix) with ESMTP id 76DC38FC16 for ; Wed, 12 Mar 2008 19:14:44 +0000 (UTC) (envelope-from nikhil.rao@intel.com) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 12 Mar 2008 11:46:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.25,490,1199692800"; d="scan'208,217";a="262174732" Received: from orsmsx334.amr.corp.intel.com (HELO orsmsx334.jf.intel.com) ([10.22.226.45]) by orsmga002.jf.intel.com with ESMTP; 12 Mar 2008 11:46:22 -0700 Received: from orsmsx419.amr.corp.intel.com ([10.22.226.88]) by orsmsx334.jf.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 12 Mar 2008 11:46:21 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 12 Mar 2008 11:46:21 -0700 Message-ID: <12A5C15467D5B94F8E0FF265D9498ADD02B35F81@orsmsx419.amr.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Shared VM address range across processes Thread-Index: AciEcV17ojE1XC8ER9WFsPX6hlWeeg== From: "Rao, Nikhil" To: X-OriginalArrivalTime: 12 Mar 2008 18:46:21.0904 (UTC) FILETIME=[5DBF2D00:01C88471] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Shared VM address range across processes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 19:14:44 -0000 Hi,=20 =20 I want to map device memory into the same virtual address range in multiple processes, this means I would have to add a vm_map_entry per address range in every process, since the list of processes can be potentially huge .. Is it allowed to point to the same list of vm_map_entrys from multiple vm_spaces ? BSD3 had a field in the vm_map_entry that could be a share map - would it be an idea that I could reuse ? =20 Nikhil