consistent_free()

Paul Mackerras paulus at samba.org
Sat Jun 15 16:11:06 EST 2002


Dan Malek writes:

> The newer ARM version only allocates the number of pages necessary to
> cover the request.  The old version, and the one in PowerPC right now,
> would just use __get_free_pages, which was a power-of-two allocator.

Interesting.  Using __get_free_pages guarantees that the pages are
physically contiguous.  Does the new ARM version do something clever
to get physically contiguous pages?  Or do the callers have to do a
scatter/gather type of operation if they are using more than 1 page?

Paul.

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





More information about the Linuxppc-embedded mailing list