From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 15895 invoked from network); 1 May 2000 15:15:33 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 1 May 2000 15:15:33 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA05750 for ; Mon, 1 May 2000 11:15:31 -0400 Received: by paralleldata.com from localhost (router,SLMail V2.5); Mon, 01 May 2000 10:22:00 -0500 Received: by paralleldata.com from paralleldata.com (24.15.240.182::mail daemon; unverified,SLMail V2.5); Mon, 01 May 2000 10:21:58 -0500 Sender: "Wsb" Message-ID: <390DA73F.9D0C29F5@paralleldata.com> Date: Mon, 01 May 2000 10:48:15 -0500 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Help me with Big physical mem alloc in linux! References: <000701bfb34a$873f7d20$0b051aac@6052.nudt.edu.cn> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > ysz wrote: > > My driver need a big physical memory (larger than one page) for DMA, > but i found nothing API to do that when I search kernel source. > Could somebody give me a hint about it? I have heard before that there's a > kernel patch to do that,but where's it and can any kernel API do it? > thanks,I'm a newbie in kernel programming and very excited in this mail list > to ask for help. > pubb Try looking at linux/drivers/scsi/st.c. It uses quite fancy DMA memory allocation and I've used it for quite large data blocks. Wes