Re: HUGETLB commit handling.

From: Andi Kleen <ak_at_muc.de>
Date: 2004-04-09 03:51:26
> The other problem we are wrestling with is how to do the ia386 and ia64 
> lazy allocation code without breaking the architectures that haven't yet 
> switched to lazy allocation.  There will probbaly be some
> 
> #define ARCH_USES_HUGETLB_PREFAULT
> 
> nonsense added to deal with the latter, if needed.

In my patch I just used weak functions: use a dummy weak function
in the high level code and overwrite from the architecture specific 
code as needed. This avoids all the ifdefs.

-Andi
-
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 Thu Apr 8 13:55:51 2004

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