From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 2 15:20:42 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8DB716A407 for ; Sun, 2 Jul 2006 15:20:42 +0000 (UTC) (envelope-from iedowse@iedowse.com) Received: from nowhere.iedowse.com (nowhere.iedowse.com [82.195.144.75]) by mx1.FreeBSD.org (Postfix) with SMTP id EBDD343D49 for ; Sun, 2 Jul 2006 15:20:41 +0000 (GMT) (envelope-from iedowse@iedowse.com) Received: from localhost ([127.0.0.1] helo=iedowse.com) by nowhere.iedowse.com via local-iedowse id ; 2 Jul 2006 16:20:40 +0100 (IST) To: Hans Petter Selasky In-Reply-To: Your message of "Sun, 02 Jul 2006 14:23:53 BST." <200607021423.aa76796@nowhere.iedowse.com> Date: Sun, 02 Jul 2006 16:20:39 +0100 From: Ian Dowse Message-ID: <200607021620.aa78471@nowhere.iedowse.com> Cc: David Malone , freebsd-hackers@freebsd.org Subject: Re: contiguous memory allocation problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 15:20:42 -0000 In message <200607021423.aa76796@nowhere.iedowse.com>, Ian Dowse writes: >The trick is that if the 0x6000 bytes are contiguous in virtual >memory then they never span more than 6 pages so one iTD is enough. Sorry, I meant of course 6 page boundaries, which means no more than 7 pages. This is why the 7 physical address slots in the iTD is always enough for 8 x 3k transaction records if the 24k buffer is contiguous in virtual memory. Ian