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.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,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 370F5211B3 for ; Wed, 5 Dec 2018 15:35:31 +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:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=TAUgp FCyL9pEd1shIZj/ltzDX7AHF9FYuNZSvYg3LJfp+nIvQwOfJGhpIROHSMr8Sbxlc 50dyxWZRcCfNAWnX2iZJXMXNcYLS3DB1r5F2NEdZpVCMG4ib0XYzXMhOh+/4ICYu A1khX9eYT9fLDDwNHAOBn9exzlWnhnYW4vUNmg= 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:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=rS6YOebSW84 hjE/RAWR1f0MjBMI=; b=NbQqd6M1+/TQz9ZDTyxGM43n9O8sfWtYW+CdG3jlCif jyaC0vePeJ0nNBHySFmP/WWVxNndLu34W7ZdQM1N+wR8ddr88cS2CNcpyxHZBlYc MeCeVp3UOduVt8Bddl6TPLuKgKeY1H949y+V1z6pq3tx4pR04xLwiKBuz9ZQ6/CQ = Received: (qmail 104076 invoked by alias); 5 Dec 2018 15:35:28 -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 104038 invoked by uid 89); 5 Dec 2018 15:35:25 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mx1.redhat.com From: Florian Weimer To: "H.J. Lu" Cc: GNU C Library Subject: Re: RFC: Add getcpu wrapper References: Date: Wed, 05 Dec 2018 16:35:20 +0100 In-Reply-To: (H. J. Lu's message of "Wed, 5 Dec 2018 06:29:28 -0800") Message-ID: <87pnuggf5z.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain * H. J. Lu: > returns such info. But syscall () is too slow. I'd like to add a wrapper to > glibc. Any comments? We already have it as sched_getcpu, I think. Thanks, Florian