From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id CFA7F1F463 for ; Thu, 2 Jan 2020 12:52:08 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=vi5Fh9xYk7a1o/XX sgm+JMP2V9dW7gl+bRZVQBnGzgOkaGp17sl2GKcDf0wNUQVK2TRLXhVexte96A8u KATowshjA4Cf7RufmQ92x8ShQk9Hemsw7wepV2zKn+GjrUIlXv8XRQPwS4NjNz+U 3cORgChkpPYNIafvRtfS2uMZA+4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=MyiQ9jKUWpCqW4ea3o5hQR Tj0FA=; b=jMChGJxzo1/HSOSWgP568T5M55Ntz88fysK90+Gcs+CkbOI8QkuIcR rhKOqorIQIX4+bUY3HZDLVBnYL3cS1wFGBCzdeJvMr4kej/ds2diqBzLybew/CLb ioaJuw9gBLWVsoJUJNT4dH9aQnmhpY2SqqfyEdkZpqpiuklv+fw6s= Received: (qmail 31484 invoked by alias); 2 Jan 2020 12:52:05 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 31471 invoked by uid 89); 2 Jan 2020 12:52:05 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: dragonfly.birch.relay.mailchannels.net X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Trouble-Well-Made: 7a6eb0a6025a78c2_1577969522091_3978555585 X-MC-Loop-Signature: 1577969522090:2402632178 X-MC-Ingress-Time: 1577969522090 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gotplt.org; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=gotplt.org; bh=MyiQ9j KUWpCqW4ea3o5hQRTj0FA=; b=OtUnB2Oqy/M8niCZsVtRSoDXyE6uYhuz0PPMt1 LPGviWv4lEuaF7lD62PlaJ0XRTZlY2zyv2BokSmAAWNa6MtRN5mNtmjxRuPe8cJO jLm+EUQYsRqgd+p5iy6XHtZqoV86l0bEYL4A0I2QtfBTWjW8orMHhjfJmFIvBRHn UvfCc= Subject: Re: [PATCH 07/16] linux: Consolidate time implementation To: Adhemerval Zanella , libc-alpha@sourceware.org References: <20191217214728.2886-1-adhemerval.zanella@linaro.org> <20191217214728.2886-7-adhemerval.zanella@linaro.org> X-DH-BACKEND: pdx1-sub0-mail-a59 From: Siddhesh Poyarekar Message-ID: <072e7ff0-7960-2328-aebf-3aa02dffb687@gotplt.org> Date: Thu, 2 Jan 2020 18:21:36 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <20191217214728.2886-7-adhemerval.zanella@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrvdeguddggeejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepufhiugguhhgvshhhucfrohihrghrvghkrghruceoshhiugguhhgvshhhsehgohhtphhlthdrohhrgheqnecukfhppeduvdefrddvhedvrddvtddvrddujedvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopegludelvddrudeikedruddrleejngdpihhnvghtpeduvdefrddvhedvrddvtddvrddujedvpdhrvghtuhhrnhdqphgrthhhpefuihguughhvghshhcurfhohigrrhgvkhgrrhcuoehsihguughhvghshhesghhothhplhhtrdhorhhgqedpmhgrihhlfhhrohhmpehsihguughhvghshhesghhothhplhhtrdhorhhgpdhnrhgtphhtthhopegrughhvghmvghrvhgrlhdriigrnhgvlhhlrgeslhhinhgrrhhordhorhhgnecuvehluhhsthgvrhfuihiivgeptd On 18/12/19 3:17 am, Adhemerval Zanella wrote: > The IFUNC bypass to vDSO is used when USE_IFUNC_TIME is set. > Currently powerpc and x86 defines it. Otherwise the generic > implementation is used, which calls clock_gettime. > > Checked on powerpc64le-linux-gnu, powerpc64-linux-gnu, > powerpc-linux-gnu-power4, x86_64-linux-gnu, and i686-linux-gnu. > --- > sysdeps/unix/sysv/linux/powerpc/time.c | 32 +--------------- > sysdeps/unix/sysv/linux/time.c | 51 ++++++++++++++++++++++++++ > sysdeps/unix/sysv/linux/x86/time.c | 27 +------------- > 3 files changed, 55 insertions(+), 55 deletions(-) > create mode 100644 sysdeps/unix/sysv/linux/time.c > OK. Reviewed-by: Siddhesh Poyarekar