Re: [Fastboot] Re: [announce] kexec for linux 2.6.6

From: Eric W. Biederman
Date: Wed May 12 2004 - 01:26:43 EST


Ulrich Drepper <drepper@xxxxxxxxxx> writes:

> Randy.Dunlap wrote:
>
> > And if anyone has suggestions for handling a variable/moving
> > syscall number (target), I'm interested in hearing them.
>
> If all architectures would finally get a vdso implementation you could
> just add the necessary stub in the vdso, add a symbol in the symbol
> table of the vdso, and use in the userlevel code
>
> sym = dlsym (RTLD_DEFAULT, "the_symbol_name")
>
> If the returned value is not NULL the symbol exists.
>
> I've described this many times as one of the huge advantages of vdsos,
> hopefully this time it clicks.

For the momen the only finished port is x86, so we should be able
to do that, it would make the kernel patch a little bigger though.
Last time I saw that conversation I thought you didn't like symbols in
the vdso for syscalls because it slowed things down.

If no one is opposed that sounds like a fairly sane idea.

Eric
-
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/