Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 9 Mar 2001 15:02:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 9 Mar 2001 15:01:52 -0500 Received: from pizda.ninka.net ([216.101.162.242]:5504 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id ; Fri, 9 Mar 2001 15:01:37 -0500 From: "David S. Miller" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15017.13933.213754.212145@pizda.ninka.net> Date: Fri, 9 Mar 2001 12:00:45 -0800 (PST) To: Pete Zaitcev Cc: David Brownell , Manfred Spraul , Russell King , linux-usb-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API] In-Reply-To: <20010309141442.A18207@devserv.devel.redhat.com> In-Reply-To: <001f01c0a5c0$e942d8f0$5517fea9@local> <00d401c0a5c6$f289d200$6800000a@brownell.org> <20010305232053.A16634@flint.arm.linux.org.uk> <15012.27969.175306.527274@pizda.ninka.net> <055e01c0a8b4$8d91dbe0$6800000a@brownell.org> <3AA91B2C.BEB85D8C@colorfullife.com> <060e01c0a8c6$ddbcc1e0$6800000a@brownell.org> <20010309141442.A18207@devserv.devel.redhat.com> X-Mailer: VM 6.75 under 21.1 (patch 13) "Crater Lake" XEmacs Lucid Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Pete Zaitcev writes: > > Some hardware (like OHCI) talks to drivers using those dma handles. > > I wonder if it may be feasible to allocate a bunch of contiguous > pages. Then, whenever the hardware returns a bus address, subtract > the remembered bus address of the zone start, add the offset to > the virtual and voila. Thankfully, some people are not lazy :-) Later, David S. Miller davem@redhat.com - 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/