Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jul 2006 16:20:39 +0100
From:      Ian Dowse <iedowse@iedowse.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        David Malone <dwmalone@maths.tcd.ie>, freebsd-hackers@freebsd.org
Subject:   Re: contiguous memory allocation problem 
Message-ID:  <200607021620.aa78471@nowhere.iedowse.com>
In-Reply-To: Your message of "Sun, 02 Jul 2006 14:23:53 BST." <200607021423.aa76796@nowhere.iedowse.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607021620.aa78471>