Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1118692pxj; Thu, 17 Jun 2021 23:18:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwj7okBWDUgLYovcdrKGKSxmVDFtEo0DJ4Nna31Dxi5WMMgRf3NWxvYi9KL8zm6hSNE0jF6 X-Received: by 2002:a17:906:16cb:: with SMTP id t11mr9246651ejd.112.1623997136191; Thu, 17 Jun 2021 23:18:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623997136; cv=none; d=google.com; s=arc-20160816; b=uH1EAP6slcJZBBX47UhT64RlSNrEkz8cv2msXQk7VF1nvLY6lmm1IeGJE3E6YfPywC HLpr7fhzb25ru051au3nfhlyqVtgOWY0qwGBA6xgT6H3jeKdDONDUGfq+Ji2TqIAPT8P SB2gGy7qhC0bmtxEd53CifYS0S5ZEGBYK+Amxp6xEvhvcro4dUJaj2+i9PIZ0PW2upqT e9AZUuMHRtVp1VxttVkJ6YmZuw90bsfAFwYH8GTYRjXq3wqeO6xITGGz2lCpOKn4rvWr YP436efwgJiqRwgr2/xnpuR2jz+zcRGBab7/pl7ZxlIo1PmGetWnIM5y9jAJ7KWlA2OG EXmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=kRHdazphvjSakuBXd43+QxDf/pX8rgxRGNGhkOkh/r8=; b=hh8EN4Hjp9LaVxjueMBf+NMhdR2rwYjD4NbbRGhP01IQTgSWM57qBA4d7fpMX5mAxv OUb6S8v4cme6aRUFq1VPX7gOIM/oQNOpcSfb+8HKwGeru8fLnF51TeE9aAWUJuXlTz+W 7vXr0O7DIyhiVQpLBo3S92ijASvj2v+gyZ+3dCP/+EG5ZELM6Kgk4LYU/1T8wiJIwVjU pyrI2Si9cH9Ix74bpjf29vqlyHbzdEt2DVSOWkfNbgN+OjyFo1BIxQULUabLz93BNWqb OwkBhyQHLEkRmxawkWfk6ci6FGMcla24lpcd5Ahu/ODsE4m2/m6SrmNZBOKCz4OyZEfV 81MQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si7905774edd.587.2021.06.17.23.18.33; Thu, 17 Jun 2021 23:18:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231732AbhFREZr (ORCPT + 99 others); Fri, 18 Jun 2021 00:25:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231637AbhFREZE (ORCPT ); Fri, 18 Jun 2021 00:25:04 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F461C061768; Thu, 17 Jun 2021 21:22:55 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4G5m4F2rwbz9sfG; Fri, 18 Jun 2021 14:22:53 +1000 (AEST) From: Michael Ellerman To: Paul Mackerras , Benjamin Herrenschmidt , Christophe Leroy , Shuah Khan , Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <0ad62673d3e063f848e7c99d719bb966efd433e8.1622809833.git.christophe.leroy@csgroup.eu> References: <0ad62673d3e063f848e7c99d719bb966efd433e8.1622809833.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH] powerpc/selftests: Use gettid() instead of getppid() for null_syscall Message-Id: <162398829644.1363949.13696130535208062444.b4-ty@ellerman.id.au> Date: Fri, 18 Jun 2021 13:51:36 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 4 Jun 2021 12:31:09 +0000 (UTC), Christophe Leroy wrote: > gettid() is 10% lighter than getppid(), use it for null_syscall selftest. Applied to powerpc/next. [1/1] powerpc/selftests: Use gettid() instead of getppid() for null_syscall https://git.kernel.org/powerpc/c/a1ea0ca8a6f17d7b79bbc4d05dd4e6ca162d8f15 cheers