From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 19429 invoked from network); 14 Mar 1999 21:28:08 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 14 Mar 1999 21:28:08 -0000 Received: from icarus.com (root@icarus.icarus.com [205.158.226.54]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA16917 for ; Sun, 14 Mar 1999 16:19:19 -0500 Received: from icarus (steve@localhost [127.0.0.1]) by icarus.com (8.8.7/8.8.5) with ESMTP id NAA08401 for ; Sun, 14 Mar 1999 13:19:18 -0800 Message-Id: <199903142119.NAA08401@icarus.com> X-Mailer: exmh version 2.0.2 To: axp-list@redhat.com Subject: Re: > 1GB on alpha. Patch to 1TB? In-Reply-To: Your message of "Sun, 14 Mar 1999 15:50:01 EST." <199903142050.PAA03166@adder.cs.Virginia.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 14 Mar 1999 13:19:18 -0800 From: Stephen Williams lindahl@cs.virginia.edu said: > 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. ??! And how are the bounce buffers allocated? I must be missing something. If the driver doesn't allocate buffer space, the buffer allocation won't affect it, right? If the driver does direct DMA to a user buffer, and the user's page is in physical memory out of range of the device addressing capabilities, then something is going to have to change. Either the hardware is extended by magic motherboard support, or the driver allocates a buffer that the device *can* write to. What else can be done? This is true now and has nothing to do with my allocator interface suggestion. I'm just suggesting that if the driver must allocate buffer space that the device can access, the kernel allocator should provide a means for the driver to make that request. Currently, there is the GFP_DMA flag, but I'm suggesting generalizing that by simply saying to the allocator how many bits of address the device has. That's 32 bits in the case of most PCI devices. (Many do support DAC that gets one up to 64 at the expense of a bus cycle.) -- Steve Williams "The woods are lovely, dark and deep. steve@icarus.com But I have promises to keep, steve@picturel.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep."