Skip to contentSkip to conversation

Fix CONFIG_COMPAT_VDSO

PATCH Al Boldi 1 participant 1 message Jan 15, 2007

lore
Share & tools
lore

Al Boldi

author
#0 lore raw
Quoted 11 lines · Roland McGrath

I wouldn't mind if CONFIG_COMPAT_VDSO went away entirely. But if it's there, it should work properly. Currently it's quite haphazard: both real vma and fixmap are mapped, both are put in the two different AT_* slots, sysenter returns to the vma address rather than the fixmap address, and core dumps yet are another story.

This patch makes CONFIG_COMPAT_VDSO disable the real vma and use the fixmap area consistently. This makes it actually compatible with what the old vdso implementation did.

I just tried your patch, but your changes seem to revert performance improvements achieved with 2.6.19, when vdso_enabled=1 and randomize_va_space=0.

Thanks!

--
Al