RE: [PATCH] long format VHPT

From: Chen, Kenneth W <kenneth.w.chen_at_intel.com>
Date: 2003-09-29 09:44:02
Arun Sharma wrote:
> - Can we avoid allocating VHPTs for non-existent CPUs ?
> - How about calling alloc_bootmem on cpu0 and __get_free_pages
>   on secondary cpus ?

> I noticed that when we hit ia64_mmu_init() on a secondary
> processor, cpu0 has already made successful calls to 
> __get_free_pages(). But calls from the secondary cpus fail.
> Does anyone know why ?

I did some hacking over the weekend. VHPT allocation can be done
from boot processor in function do_boot_cpu() before waking up
secondary CPUs.  Allocation can be easily made numa friendly by
calling alloc_pages_node (didn't bother to do that for now).

- Ken

-
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 Sun Sep 28 19:48:18 2003

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