From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30061 invoked from network); 14 Mar 1999 20:58:50 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 14 Mar 1999 20:58:50 -0000 Received: from ares.cs.Virginia.EDU (ares.cs.Virginia.EDU [128.143.137.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA14932 for ; Sun, 14 Mar 1999 15:50:03 -0500 Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.9.2/8.9.2/UVACS-1999030200) with ESMTP id PAA28097 for ; Sun, 14 Mar 1999 15:50:02 -0500 (EST) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.8.5/8.8.5) id PAA03166 for axp-list@redhat.com; Sun, 14 Mar 1999 15:50:01 -0500 (EST) Message-Id: <199903142050.PAA03166@adder.cs.Virginia.EDU> Subject: Re: > 1GB on alpha. Patch to 1TB? To: axp-list@redhat.com Date: Sun, 14 Mar 1999 15:50:01 -0500 (EST) In-Reply-To: <199903142045.MAA08256@icarus.com> from "Stephen Williams" at Mar 14, 99 12:45:34 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > I have a card which dma's to a buffer allocated in normal user > > programs. You mean I have to change all my user code (Fortran MPI) > > because of _your_ preferences? No, the solution should be general. > > What are you talking about? Of course not. > > If the driver does direct DMA to user pages, then the driver is compelled > to add any bounce buffers that are needed to do the job if the user page > is out of the range of the device. > > The driver should be able to ask for buffer space in the first 2Gig if > that is all the device can handle. The driver isn't allocating the buffer space, except for bounce buffers. In the scheme you have outlined, this device will never be efficiently supported. Why leave yourself fenced into a corner when making a fresh design? -- g