Re: [RFC, PATCH 7/24] i386 Vmi memory hole

From: Gerd Hoffmann
Date: Wed Mar 15 2006 - 04:23:10 EST


> pushl $SYSENTER_RETURN
>
> SYSENTER_RETURN is a link time constant that is defined based on the
> location of the vsyscall page. If the vsyscall page can move, this can
> not be a constant.

The vsyscall page is at PAGE_OFFSET - 2*PAGE_SIZE. It doesn't move. At
least not at runtime. At compile time it can change with the new
VMSPLIT config options, but that isn't a problem ;)

cheers,

Gerd

--
Gerd 'just married' Hoffmann <kraxel@xxxxxxx>
I'm the hacker formerly known as Gerd Knorr.
http://www.suse.de/~kraxel/just-married.jpeg
-
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/