public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Duplication of vdso and vsyscall code?
@ 2009-10-09 21:15 Jeremy Fitzhardinge
  2009-10-10  4:14 ` Andi Kleen
  0 siblings, 1 reply; 3+ messages in thread
From: Jeremy Fitzhardinge @ 2009-10-09 21:15 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Ingo Molnar, Linux Kernel Mailing List, the arch/x86 maintainers

arch/x86/kernel/vsyscall_64.c implements vgettimeofday and vgetcpu. 
(And vtime)

arch/x86/vdso/vclock_gettime.c implements __vdso_gettimeofday (and
__vdso_clock_gettime), and vgetcpu.c has __vdso_getcpu.

These appear to be functionally identical duplicate definitions.   I
don't understand the history here to know how we came to get two sets of
these functions, but surely we can share the same code for both of these?

Thanks,
    J

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-10  4:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-09 21:15 Duplication of vdso and vsyscall code? Jeremy Fitzhardinge
2009-10-10  4:14 ` Andi Kleen
2009-10-10  4:47   ` Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox