> Are there any up-to-date libc implementations for which the
> optimization *does* work?  It appears that at least glibc and musl use
> mmap and thereby defeat the optimization.

It works with MAP_32BIT. That was one of the reasons it was added
originally. Or just passing a low search hint.

> I don't think it's worth keeping around somewhat fragile code to
> optimize a use case that no longer exists and for which removing the
> extra code wouldn't break anything.

ABIs are ABIs and are not up to removal.
Also not everything you don't understand is up to removal.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to