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/
This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:32 EST