From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 1 15:32:51 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 3ACE8106564A for ; Mon, 1 Dec 2008 15:32:51 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id DBB608FC19 for ; Mon, 1 Dec 2008 15:32:50 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so965876ywe.13 for ; Mon, 01 Dec 2008 07:32:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=dMPVQ8s6f2gMRX1dUEPg3ZijSQv99EstUQeSuRCivvY=; b=jisKNcze9HkpBgC0Gx5BkeKMDb1G668EFuqPjxsjvS7cTzbDT8nbsxsHTBc8Qt7uOi bGFRnGGMt3+PnWRWkS73RuwpjIMpzgQxsogXcpNcWP14J+lUdUyW+Qm7w2Ko5vZdRcpt /HhHiup4+6t0dpEy5KJK0v0KN41Pw2zKWm6ek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=kpkCKR76B4yPUyCd/FYhux5/OBrXTAPvRHVOwo7KxeKuNMCrFpKLAPaYuKZFPJhsEw W6lpL0X/X4Pi1jzRvITz0VU9kEJs/I6KNFmlE1j7JMuuCKdmhemnR3QnJmp4VI43+u9Q S8igEUz04aBpah9VrFPykp2JcS+e1j9g3jonU= Received: by 10.101.69.10 with SMTP id w10mr5792081ank.98.1228144358740; Mon, 01 Dec 2008 07:12:38 -0800 (PST) Received: from kan.dnsalias.net (c-24-62-106-68.hsd1.ma.comcast.net [24.62.106.68]) by mx.google.com with ESMTPS id c29sm1120638anc.49.2008.12.01.07.12.37 (version=SSLv3 cipher=RC4-MD5); Mon, 01 Dec 2008 07:12:37 -0800 (PST) Date: Mon, 1 Dec 2008 10:12:32 -0500 From: Alexander Kabaev To: Alexej Sokolov Message-ID: <20081201101232.42d55473@kan.dnsalias.net> In-Reply-To: <20081201013851.GA20549@debian.samsung.router> References: <20081201013851.GA20549@debian.samsung.router> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/I6uY5NvTixSBOwqSYVLYI+D"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-hackers@freebsd.org Subject: Re: remapping kernel buffer in VMS of user process 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: Mon, 01 Dec 2008 15:32:51 -0000 --Sig_/I6uY5NvTixSBOwqSYVLYI+D Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 1 Dec 2008 02:38:51 +0100 Alexej Sokolov wrote: > Hello,=20 >=20 > I would like to remap some buffers allocated in kernel space to memory > space of certain process.=20 >=20 The simplest way is to expose this buffer through device pager. Implement the driver callback and let userland to simply mmap the page. --=20 Alexander Kabaev --Sig_/I6uY5NvTixSBOwqSYVLYI+D Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFJM/7gQ6z1jMm+XZYRAuXpAJ4/3EqUOEhGr3QC+s1RWRpBdzrciwCgqA54 wKf/7958NLIWOp/ay5pa/wQ= =t2bm -----END PGP SIGNATURE----- --Sig_/I6uY5NvTixSBOwqSYVLYI+D--