From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Steiner Date: Wed, 30 Jul 2003 00:22:31 +0000 Subject: Re: [PATCH] (2.4.x bk) efi_memmap_walk_uc Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org > > >>>>> On Tue, 29 Jul 2003 18:56:15 -0500 (CDT), Jack Steiner 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