From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754820AbbJ0VtW (ORCPT ); Tue, 27 Oct 2015 17:49:22 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:63614 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754483AbbJ0VtT (ORCPT ); Tue, 27 Oct 2015 17:49:19 -0400 Message-ID: <562FF15A.1050507@imgtec.com> Date: Tue, 27 Oct 2015 14:49:14 -0700 From: Leonid Yegoshin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: David Daney CC: Ralf Baechle , Markos Chandras , , Alex Smith , Subject: Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() References: <1445417864-31453-1-git-send-email-markos.chandras@imgtec.com> <5629904A.2070400@imgtec.com> <20151027144748.GA23785@linux-mips.org> <562FE29C.8040106@imgtec.com> <562FE678.2030307@gmail.com> <562FE96C.3070002@imgtec.com> <562FF05A.508@gmail.com> In-Reply-To: <562FF05A.508@gmail.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.20.3.92] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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