[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1242306085.19219.2.camel@nathan.suse.cz>
Date: Thu, 14 May 2009 15:01:25 +0200
From: Petr Tesarik <ptesarik@...e.cz>
To: Andi Kleen <andi@...stfloor.org>
Cc: linux-kernel@...r.kernel.org, linux-x86_64@...r.kernel.org,
mingo@...e.hu, zwane@....linux.org.uk
Subject: Re: [PATCH 0/4] x86-64: fix vclock_gettime()
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists