Re: vDSO for ppc64 : Preliminary release #3

From: Benjamin Herrenschmidt
Date: Thu Sep 09 2004 - 04:03:39 EST


On Thu, 2004-09-09 at 18:43, Benjamin Herrenschmidt wrote:

> + /*
> + * pick a base address for the vDSO in process space. We have a default
> + * base of 1Mb on which we had a random offset up to 1Mb.
> + * XXX: Add possibility for a program header to specify that location
> + */
> + current->thread.vdso_base = 0x00100000
> + + 0xaa000;/* + ((unsigned long)vma & 0x000ff000); */
> +

Note that the above is a hack putting the vDSO at 0x1aa000 instead of
it's native link address of 0x100000 to test that it works ;)

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/