From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752562AbdKHUOP (ORCPT ); Wed, 8 Nov 2017 15:14:15 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:48119 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752329AbdKHUON (ORCPT ); Wed, 8 Nov 2017 15:14:13 -0500 X-Google-Smtp-Source: ABhQp+TfXaezdtM1S2W7ovCj2sph1IJrSi7gxitkS+9vmfSgCITe+qRD2g0hdUs9GbYHi9AGIx0gLhqEtNkXdd/Kvyo= MIME-Version: 1.0 In-Reply-To: References: <0911917e908c7648d25b33663afc88f5aca6bb4d.1510118606.git.green.hu@gmail.com> From: Deepa Dinamani Date: Wed, 8 Nov 2017 12:14:12 -0800 Message-ID: Subject: Re: [PATCH 16/31] nds32: VDSO support To: Arnd Bergmann Cc: Greentime Hu , Greentime , Linux Kernel Mailing List , linux-arch , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Networking , Vincent Chen , Palmer Dabbelt Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Do applications call into the vdso directly and expect to get a timespec > out? If they always go through the C library as an intermediate, then > the glibc clock_gettime() could do the conversion. It is recommended that applications do not call vdso symbols directly. According to manpage: "If you're trying to call the vDSO in your own application rather than using the C library, you're most likely doing it wrong." -Deepa