Messages in this thread | | | Date | 8 Apr 2004 19:51:26 +0200 | Date | Thu, 8 Apr 2004 19:51:26 +0200 | From | Andi Kleen <> | Subject | Re: HUGETLB commit handling. |
| |
> 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-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |