This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Sun May 28 15:30:29 2023 Received: from spaans.ds9a.nl (adsl-xs4all.ds9a.nl [213.84.159.51]) by kylie.puddingonline.com (8.11.6/8.11.6) with SMTP id g8IEsKX20716 for ; Wed, 18 Sep 2002 16:54:20 +0200 Received: (qmail 3025 invoked from network); 18 Sep 2002 06:55:29 -0000 Received: from unknown (HELO spaans.ds9a.nl) (3ffe:8280:10:360:202:44ff:fe2a:a1dd) by mayo.ipv6.ds9a.nl with SMTP; 18 Sep 2002 06:55:29 -0000 Received: (qmail 12790 invoked by uid 1000); 17 Sep 2002 20:30:16 -0000 Received: (maildatabase); juh Received: (qmail 5041 invoked by alias); 28 Sep 2001 15:31:04 -0000 Received: (qmail 5038 invoked from network); 28 Sep 2001 15:31:04 -0000 Received: from vvtp.tn.tudelft.nl (HELO vvtp.nl) (qmailr@130.161.252.29) by spaans.ds9a.nl with SMTP; 28 Sep 2001 15:31:04 -0000 Received: (qmail 10932 invoked by uid 2547); 28 Sep 2001 15:29:56 -0000 Received: (qmail 10849 invoked from network); 28 Sep 2001 15:29:53 -0000 Received: from vger.kernel.org (199.183.24.194) by vvtp.tn.tudelft.nl with SMTP; 28 Sep 2001 15:29:53 -0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 28 Sep 2001 11:28:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 28 Sep 2001 11:28:19 -0400 Received: from [172.16.44.254] ([172.16.44.254]:47366 "EHLO int-mx1.corp.redhat.com") by vger.kernel.org with ESMTP id ; Fri, 28 Sep 2001 11:28:11 -0400 Received: from mx.hsv.redhat.com (IDENT:root@spot.hsv.redhat.com [172.16.16.7]) by int-mx1.corp.redhat.com (8.11.3/8.11.3) with ESMTP id f8SFS8P28908; Fri, 28 Sep 2001 11:28:09 -0400 Received: from dhcp-177.hsv.redhat.com (dhcp-177.hsv.redhat.com [172.16.17.177]) by mx.hsv.redhat.com (8.11.0/8.11.0) with SMTP id f8SFSAE17934; Fri, 28 Sep 2001 10:28:10 -0500 Date: Fri, 28 Sep 2001 10:28:36 -0500 From: Tommy Reynolds To: Norbert Roos Cc: linux-kernel@vger.kernel.org Subject: Re: inverse mmap() available? Message-Id: <20010928102836.02d0450a.reynolds@redhat.com> In-Reply-To: <3BB49438.1F2C59B3@berlin.de> References: <3BB49438.1F2C59B3@berlin.de> Organization: Red Hat Software, Inc. / Embedded Development X-Mailer: Sylpheed version 0.6.2cvs5 (GTK+ 1.2.9; ) X-Face: Nr)Jjr was pleased to say: > > Hello! > > Is there a way to map user space memory into kernel address space, e.g. > that i don't have to call get_user(var,...) but simply use var = > *user_space_ptr? > > What i intend to do (as the next step) is to DMA-transfer data directly > between a PCI device and user space memory. The buffer in user space > should be allocated with malloc(), so allocating a buffer in kernel and > mmap()-ping it to user space is not the solution.. > > I guess this has been asked before, any links to further information > would be great. Look at the KIOBUF stuff in for how to do this. ---------------------------------------------+----------------------------- Tommy Reynolds | mailto: Red Hat, Inc., Embedded Development Services | Phone: +1.256.704.9286 307 Wynn Drive NW, Huntsville, AL 35805 USA | FAX: +1.236.837.3839 Senior Software Developer | Mobile: +1.919.641.2923 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/