[PATCH 1/1] cr: remap vdso at original address

Serge E. Hallyn serue at us.ibm.com
Wed Mar 25 07:31:16 PDT 2009

Well, here is my current attempt at properly handling vdso for
the x86 and s390 c/r code.  I was going to test with gettimeofday,
but x86 doesn't use vdso for that, and I'm still recompiling glibc
on s390 to exploit vdso for it.  So what I can tell so far is that
CONFIG_COMPAT_VDSO=n is now save on x86 - the kernel vdso segment
is re-mapped from the kernel into the checkpointed location, so
the fact that the task was started with a random vdso base doesn't

Once I get a proper testcase, I intend to show that checkpointing
a testcase which does gettimeofday(), waiting 10 seconds, and
then restarting it, will end up with bad __vdso_gettimeofday()
results without this patch, and good ones with it.


More information about the Containers mailing list