Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1089998ybp; Fri, 11 Oct 2019 08:48:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYOLlJM3nlI9mbBFxpQWpkO1PD6dTbJyL3NDvcR8oquJV8LB/OwIXaSyJszeKeWClOnsTI X-Received: by 2002:a17:906:a88e:: with SMTP id ha14mr14139469ejb.92.1570808901360; Fri, 11 Oct 2019 08:48:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570808901; cv=none; d=google.com; s=arc-20160816; b=IDZuV0a0IY6/XZIio3p8Z709QVb9rDAfRY46YvJ+cbLVMzSJIVsNtqXdqoOlXBjDL+ XiI3vjrML/0JDkwPescL4xvQv3i/8Dk/BmDg2eb1TsPwxwmUSN0G5MNF50EVgIcFst3g EG+rz0PPZaXQwyduwhiriCMXMAVb/rgu0ToOc3FyW2UpjlhBSbmUl5rIwVN7H5qVsLxe c5LRrkrVrohraTwABhzDRXRSWRVVBlJ/9VH5c7pxMnwJ6fN9MIm/gxsC8t3z3SdxZQnh odfcRctpHZgDIhBchHkvK1xVK9ZQ+001HbmEaKx/UiVbGVv94faiVi1kgZkZ1Iu7iaP/ hDQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=VCIischcUqrziy+stBEHaofxetilEb9BaHQ8DY2A7W0=; b=fOiKmaae7A1wHiSeyB5DAJj45EyTPMp0OYYmDwXrUHEj61Ikt7wUJ6mEhTxxZn3EgM +qZS5Y/zVx8bwj3rfgXIiJEBAZP5ZTKdN/ZeLfPe3PcK8AODJzfGMB6di0E6NZ32bzmd rZBCRs3xHpDZ8hvpOkSenYh2dnpgV1+1HISWhdKpl+Vx3SvbBbGuDyfufofmQKw7lU/h RVf+46+3UlCEbenSfzmLkzXjVMbu5m3GhFJpPjFYKCxN5onPFifLuZFXy0cuRMvf0xzI RklbzRqNV62Bnm74h/VfuPb+/Cwnsd1tuldoDJCXsjWDsxn+RfQK5sswaCih/RCmoxVR 3umA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gh16si5481170ejb.150.2019.10.11.08.47.57; Fri, 11 Oct 2019 08:48:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728159AbfJKPri (ORCPT + 99 others); Fri, 11 Oct 2019 11:47:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:60278 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727399AbfJKPri (ORCPT ); Fri, 11 Oct 2019 11:47:38 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B9B39B229; Fri, 11 Oct 2019 15:47:36 +0000 (UTC) Date: Fri, 11 Oct 2019 08:46:23 -0700 From: Davidlohr Bueso To: Manfred Spraul Cc: Peter Zijlstra , Waiman Long , Linux Kernel Mailing List , 1vier1@web.de, "Paul E. McKenney" Subject: Re: wake_q memory ordering Message-ID: <20191011154623.zawmihahq6dria7u@linux-p48b> References: <990690aa-8281-41da-4a46-99bb8f9fec31@colorfullife.com> <20191010114244.GS2311@hirez.programming.kicks-ass.net> <7af22b09-2ab9-78c9-3027-8281f020e2e8@colorfullife.com> <20191010123219.GO2328@hirez.programming.kicks-ass.net> <20191010192508.3yvpc5r6oqjq5tbr@linux-p48b> <0312fc72-74f1-ea3e-8301-f94bba742735@colorfullife.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <0312fc72-74f1-ea3e-8301-f94bba742735@colorfullife.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Oct 2019, Manfred Spraul wrote: >I don't know. The new documentation would not have answered my >question (is it ok to combine smp_mb__before_atomic() with >atomic_relaxed()?). And it copies content already present in >atomic_t.txt. Well, the _relaxed (and release/acquire) extentions refer to a _successful_ operation (LL/SC), and whether it has barriers on each of the sides before and after. I thought you were mainly worried about the failed CAS scenario, not the relaxed itself. I don't know how this copies content from atomic_t.txt, at no point does it talk about failed CAS. > >Thus: I would prefer if the first sentence of the paragraph is >replaced: The list of operations should end with "...", and it should >match what is in atomic_t.txt I'll see about combining some of your changes in patch 5/5 of your new series, but have to say I still prefer my documentation change. Thanks, Davidlohr