RE: [PATCH] Avoiding mmap fragmentation (against 2.6.12-rc4) to

Chen, Kenneth W
2005-05-11T15:05:01Z

Wolfgang Wander wrote on Wednesday, May 11, 2005 7:36 AM
> The patch adresses thes issues by introducing yet another cache
> descriptor cached_hole_size that contains the largest known hole
> size below the current free_area_cache. If a new request comes
> in the size is compared against the cached_hole_size and if the
> request can be filled with a hole below free_area_cache the
> search is started from the base instead.
>
> arch/ia64/kernel/sys_ia64.c | 15 ++++++++++++---
> arch/ppc64/mm/hugetlbpage.c | 34 +++++++++++++++++++++++++++++-----
> arch/sparc64/kernel/sys_sparc.c | 8 ++++++++

To me, the original issue is a specific problem with 32-bit address space
fragmentation. On first glance of the patch, the changes for 64-bit arches
are questionable here. I will work on this.

- Ken