Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1257339

Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()

From Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Newsgroups linux.kernel
Subject Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()
Date 2015-10-27 22:50 +0100
Message-ID <qoki0-21H-69@gated-at.bofh.it> (permalink)
References (2 earlier) <qodJw-6ns-17@gated-at.bofh.it> <qojlT-1pk-5@gated-at.bofh.it> <qojFj-1MD-65@gated-at.bofh.it> <qojOX-1Qn-53@gated-at.bofh.it> <qoki0-21H-71@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> For example, On OCTEON single-chip systems we synchronize the the 
> counters and they don't drift.  So, we can use CPO.Count. However, on 
> two-chip NUMA configurations there may be clock drift between the two 
> chips, so CPO.Count cannot be used as a clocksource.  We have a single 
> kernel image that runs on both types of systems, so we have to be able 
> to enable/disable the gettimeofday() acceleration.
>
Much more interesting the situation then there are a different clock 
frequency in different CPUs.

It seems for me that per-thread memory idea may be required soon.

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() Markos Chandras <markos.chandras@imgtec.com> - 2015-10-21 11:00 +0200
  Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and  clock_gettime() Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> - 2015-10-23 03:50 +0200
    Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and  clock_gettime() Ralf Baechle <ralf@linux-mips.org> - 2015-10-27 15:50 +0100
      Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and  clock_gettime() Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> - 2015-10-27 21:50 +0100
        Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and  clock_gettime() David Daney <ddaney.cavm@gmail.com> - 2015-10-27 22:10 +0100
          Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and  clock_gettime() Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> - 2015-10-27 22:20 +0100
            Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and  clock_gettime() Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> - 2015-10-27 22:50 +0100
              Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() Alex Smith <alex@alex-smith.me.uk> - 2015-10-28 11:30 +0100
                Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and  clock_gettime() Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> - 2015-10-28 19:30 +0100
                Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() Alex Smith <alex@alex-smith.me.uk> - 2015-10-28 19:40 +0100
                Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and  clock_gettime() Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> - 2015-10-28 20:00 +0100
                Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() Alex Smith <alex@alex-smith.me.uk> - 2015-10-28 20:20 +0100
                Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and  clock_gettime() Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> - 2015-10-28 20:30 +0100
                Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() Alex Smith <alex@alex-smith.me.uk> - 2015-10-28 21:00 +0100
                Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and  clock_gettime() Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> - 2015-10-28 21:20 +0100
            Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and  clock_gettime() David Daney <ddaney.cavm@gmail.com> - 2015-10-27 22:50 +0100

csiph-web