From owner-freebsd-hackers Thu Nov 29 13:34:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from web.cs.ndsu.nodak.edu (web.cs.ndsu.NoDak.edu [134.129.125.7]) by hub.freebsd.org (Postfix) with ESMTP id 5962837B416 for ; Thu, 29 Nov 2001 13:34:16 -0800 (PST) Received: (from tinguely@localhost) by web.cs.ndsu.nodak.edu (8.11.4/8.11.4) id fATLYFn42233; Thu, 29 Nov 2001 15:34:15 -0600 (CST) (envelope-from tinguely) Date: Thu, 29 Nov 2001 15:34:15 -0600 (CST) From: mark tinguely Message-Id: <200111292134.fATLYFn42233@web.cs.ndsu.nodak.edu> To: freebsd-hackers@FreeBSD.ORG, zzhang@cs.binghamton.edu Subject: Re: contiguous memory of a buffer In-Reply-To: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I am wondering whether we need contiguous memory for a PHYSICAL buffer to > perform the DMA I/O. yes. The DMA request should either not cross a physical page or if the request does cross a physical page, those pages must be contiguous. the exception to this is if your DMA card has a memory management unit, and you are sharing the same virtual to physical map with the MMU and the host memory allocation space (for a driver, the kernel physical map). --mark tinguely. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message