From mboxrd@z Thu Jan 1 00:00:00 1970 From: "ZCane, Ed (Test Purposes)" Message-ID: <01d901c32f46$aa240790$d8c176c1@roke.co.uk> References: <46580000.1055180345@flay> <51250000.1055184690@flay> <20030609200411.GA26348@holomorphy.com> <5.2.0.9.2.20030610125606.00cd04a0@pop.gmx.net> <20030610114123.GP15692@holomorphy.com> Subject: Sharing Boottime allocated memory with user-space processes Date: Tue, 10 Jun 2003 12:51:44 +0100 Sender: owner-linux-mm@kvack.org Return-Path: To: linux-mm@kvack.org List-ID: Dear All, Just a quick pointer in the right direction required, again! I'm allocating a large buffer at boot-time, from the kernel, using alloc_bootmem_low_pages, which I wish to use for DMA from an device driver. For example, the bootmem returns an address of 0xc0006000. This all works fine, but... What is the mechanism for communicating this address to user-space processes, and mapping it to a virtual address, so that they can use my buffer? Sorry for asking something undoubtedly trivial! Cheers, Ed begin 666 RMRL-Disclaimer.txt M4F5G:7-T97)E9"!/9F9I8V4Z(%)O:V4@36%N;W(@4F5S96%R8V@@3'1D+"!3 M:65M96YS($AO=7-E+"!/;&1B=7)Y+"!"2!W:71H;W5T('!E aart@kvack.org