BAT mapping exported to user-space

Dan Malek dan at embeddededge.com
Tue Jul 27 11:18:46 EST 2004


On Jul 26, 2004, at 2:33 PM, Linh Dang wrote:

> My understanding is:
>
> - mmap(2) uses pages to map the device (my platform doesn't have large
> page.)

Yes, so?

> - mapping a large address range (hundreds-of-megabytes) is much more
>   efficient with BATs than with pages.

Depends upon your measurement of efficiency.

> So, do you mean:
>         - mmap(2) can use BATs? or

Not likely due to alignment and size constraints.

>         - the difference in performance is negligible between BATs and
>           pages when mapping an address range of 200MBs?

If you can measure or are affected by the difference, there are many
more things that will ensure your software will not work properly.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list