Messages in this thread | | | Subject | Re: [PATCH 0/4] x86-64: fix vclock_gettime() | From | Petr Tesarik <> | Date | Thu, 14 May 2009 15:01:25 +0200 |
| |
Andi Kleen píše v Čt 14. 05. 2009 v 14:58 +0200: > > To rectify the situation, I saw the following options: > > > > 1. Adjust pointers in the vDSO .altinstruction section during > > vDSO setup, and then pass it to apply_alternatives() > > 2. List the relocations with objdump and add them again to vdso.S > > using the .reloc GAS directive > > 3. Link the vDSO into the kernel with relocations, i.e. not just > > as a blob > > 4. Just move the barriers back back into the main kernel.
Sorry, this doesn't work, because the function is inlined. And even if it wasn't, the vDSO must be self-contained by definition. User-space cannot simply call into kernel-space.
Cheers, Petr Tesarik
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |