Messages in this thread | | | Date | Fri, 09 May 2003 15:21:25 -0700 | From | "H. Peter Anvin" <> | Subject | Re: hammer: MAP_32BIT |
| |
Ulrich Drepper wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > H. Peter Anvin wrote: > >>On the other >>hand, how big of a performance issue is it really to call mmap() again >>in the failure scenario *only*? > > > Just look at the code, it's very expensive. In the moment the mmap code > has to sequentially look at the VMAs in question. If it fails it means > it walked the entire data structure without success. Ingo's patch does > not address this, it just makes successful allocation usually fast again. >
OK, maybe we should fix that instead :-/
-hpa
- 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/
| |