From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D5EDC433DF for ; Fri, 24 Jul 2020 21:10:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CF74F206F0 for ; Fri, 24 Jul 2020 21:10:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="PwJpJWJi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726863AbgGXVKN (ORCPT ); Fri, 24 Jul 2020 17:10:13 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:48531 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726576AbgGXVKN (ORCPT ); Fri, 24 Jul 2020 17:10:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595625012; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ed8j2LT2KsHWpolspTWtSncJAinB+1jy5yMqXWi8RFM=; b=PwJpJWJi4ll+H51OATK/8oT0TTkmsUBS8zCNhsv2BDgOt6v5LblWyFkum6Uevjw0m/NY1n fkqXZjEoXjFXRZpcjOrNZuIBHnNoXtWJ91oVPckRvmm8u8CANDw2ZXvy8Hw/oVfA+YlbxI cAmfJaOwbc/tCx6EXMxGDbkRYl4I94E= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-162-4oQL6yaXMw6-6arlXRKcGw-1; Fri, 24 Jul 2020 17:10:08 -0400 X-MC-Unique: 4oQL6yaXMw6-6arlXRKcGw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 794CD1005504; Fri, 24 Jul 2020 21:10:06 +0000 (UTC) Received: from llong.remote.csb (ovpn-117-203.rdu2.redhat.com [10.10.117.203]) by smtp.corp.redhat.com (Postfix) with ESMTP id 959296FEFE; Fri, 24 Jul 2020 21:10:02 +0000 (UTC) Subject: Re: [PATCH v4 6/6] powerpc: implement smp_cond_load_relaxed To: Nicholas Piggin , linuxppc-dev@lists.ozlabs.org Cc: Will Deacon , Peter Zijlstra , Boqun Feng , Ingo Molnar , Anton Blanchard , =?UTF-8?Q?Michal_Such=c3=a1nek?= , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, kvm-ppc@vger.kernel.org, linux-arch@vger.kernel.org References: <20200724131423.1362108-1-npiggin@gmail.com> <20200724131423.1362108-7-npiggin@gmail.com> From: Waiman Long Organization: Red Hat Message-ID: <1d24ef18-963b-4e26-2798-68bfe1350167@redhat.com> Date: Fri, 24 Jul 2020 17:10:02 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200724131423.1362108-7-npiggin@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/24/20 9:14 AM, Nicholas Piggin wrote: > This implements smp_cond_load_relaed with the slowpath busy loop using the Nit: "smp_cond_load_relaxed" Cheers, Longman From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 047B1C433EA for ; Fri, 24 Jul 2020 21:12:05 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A5764206F0 for ; Fri, 24 Jul 2020 21:12:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="R2eBq9we"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Q/NEsObl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A5764206F0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4BD22V3CHLzDrcZ for ; Sat, 25 Jul 2020 07:12:02 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=redhat.com (client-ip=205.139.110.61; helo=us-smtp-delivery-1.mimecast.com; envelope-from=longman@redhat.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=R2eBq9we; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Q/NEsObl; dkim-atps=neutral Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4BD20R3NlCzF15L for ; Sat, 25 Jul 2020 07:10:13 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595625010; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ed8j2LT2KsHWpolspTWtSncJAinB+1jy5yMqXWi8RFM=; b=R2eBq9weEcbhLlEZ365sdyLA4u/dROkoFl2Hl5rrUhsd72zQ9R6goBXvpYEOmd+73JTPyI np2drtJDKkZUDQv+3bjwotDAA5PjAaUFN1aIr3A9BPu3bJXettINZSeNsG14QYlhTteiQE wpRdACLVQl/oLc0/dLPSU7Cauew0I/Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595625011; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ed8j2LT2KsHWpolspTWtSncJAinB+1jy5yMqXWi8RFM=; b=Q/NEsObljfSAKx2IPqciuapPfk91mt4yMAXBMRHI3KJKOW8BJMbepS1LtJvhtEvA3fH29x GuPTDWePh3SweqBZdkMzGkN0ecyg/Y6F2FFpQpkfa1WHi+zpW8TA9K6ESfKmn3J+GcboM+ IVdc3vjTKBLHISKnxKs6dMBNy2P0iPc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-162-4oQL6yaXMw6-6arlXRKcGw-1; Fri, 24 Jul 2020 17:10:08 -0400 X-MC-Unique: 4oQL6yaXMw6-6arlXRKcGw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 794CD1005504; Fri, 24 Jul 2020 21:10:06 +0000 (UTC) Received: from llong.remote.csb (ovpn-117-203.rdu2.redhat.com [10.10.117.203]) by smtp.corp.redhat.com (Postfix) with ESMTP id 959296FEFE; Fri, 24 Jul 2020 21:10:02 +0000 (UTC) Subject: Re: [PATCH v4 6/6] powerpc: implement smp_cond_load_relaxed To: Nicholas Piggin , linuxppc-dev@lists.ozlabs.org References: <20200724131423.1362108-1-npiggin@gmail.com> <20200724131423.1362108-7-npiggin@gmail.com> From: Waiman Long Organization: Red Hat Message-ID: <1d24ef18-963b-4e26-2798-68bfe1350167@redhat.com> Date: Fri, 24 Jul 2020 17:10:02 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200724131423.1362108-7-npiggin@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, Peter Zijlstra , Boqun Feng , linux-kernel@vger.kernel.org, kvm-ppc@vger.kernel.org, virtualization@lists.linux-foundation.org, Ingo Molnar , =?UTF-8?Q?Michal_Such=c3=a1nek?= , Will Deacon Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On 7/24/20 9:14 AM, Nicholas Piggin wrote: > This implements smp_cond_load_relaed with the slowpath busy loop using the Nit: "smp_cond_load_relaxed" Cheers, Longman From mboxrd@z Thu Jan 1 00:00:00 1970 From: Waiman Long Date: Fri, 24 Jul 2020 21:10:02 +0000 Subject: Re: [PATCH v4 6/6] powerpc: implement smp_cond_load_relaxed Message-Id: <1d24ef18-963b-4e26-2798-68bfe1350167@redhat.com> List-Id: References: <20200724131423.1362108-1-npiggin@gmail.com> <20200724131423.1362108-7-npiggin@gmail.com> In-Reply-To: <20200724131423.1362108-7-npiggin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Nicholas Piggin , linuxppc-dev@lists.ozlabs.org Cc: Will Deacon , Peter Zijlstra , Boqun Feng , Ingo Molnar , Anton Blanchard , =?UTF-8?Q?Michal_Such=c3=a1nek?= , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, kvm-ppc@vger.kernel.org, linux-arch@vger.kernel.org On 7/24/20 9:14 AM, Nicholas Piggin wrote: > This implements smp_cond_load_relaed with the slowpath busy loop using the Nit: "smp_cond_load_relaxed" Cheers, Longman