Re: [PATCH] (2.4.x bk) efi_memmap_walk_uc

From: Jack Steiner <steiner_at_sgi.com>
Date: 2003-07-30 10:22:31
> 
> >>>>> On Tue, 29 Jul 2003 18:56:15 -0500 (CDT), Jack Steiner <steiner@sgi.com> said:
> 
>   Jack> If granularity is bytes, we need to support page-aligned
>   Jack> allocations. Fetchop pages are mmap'ed to user space.
> 
> I see.  But then EFI-page-aligned memory won't do you no good either
> (i.e., you'd need a PAGE_SIZE-based allocator).  Alternatively, just
> allocated PAGE_SIZE+1 extra bytes and do the alignment yourself?
> 
> 	--david

That would work but would waste space (unless we allow "free" to
accept a partial free of a previously allocated chunk. "free" would
have to combine fragments). Fetchop space on our platform is
a limited resource.


-- 
Thanks

Jack Steiner    (651-683-5302)   (vnet 233-5302)      steiner@sgi.com

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Jul 29 20:23:34 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:16 EST