Received: by 10.223.164.202 with SMTP id h10csp358671wrb; Wed, 15 Nov 2017 00:35:49 -0800 (PST) X-Google-Smtp-Source: AGs4zMaYvDXY3T2Ki+YujHcxSyGzf8bAacL6k2Rx6mc35m5isW4MeDmLRDYVIqKj4bpCi/lV33L1 X-Received: by 10.99.177.75 with SMTP id g11mr1773748pgp.268.1510734949543; Wed, 15 Nov 2017 00:35:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510734949; cv=none; d=google.com; s=arc-20160816; b=R2RF3xKi9oqzfpGJ4mgm11qZJDjD+Gj56o3k+tTo+yPe22ZyXftCwBYgqS0l6f4dZq 7SNKqQuTLxiPB/9RkBINXxHwPmZTs+JWapa8BxbPgckNe/go/h7bXGxNyCm8iRUzI4Vb 6kbyK0epTedIkjrocPLP9HdtHw20GcwLGXgAhp5rpnaHnTVJEVxTda3xC9AzPPb4nCTX CJ1KT+Rdx4J1mwlfanRkgHUK4CM0yelwJHssIJFKFDGbGPmeh+ArLdHnQY0zB0lTyCne ZjW7tLqdC/68ayB/TYBNV/8BJwSACnV2Coay96z6br+91uuPwlgmY+uWzRz4XJCOvTl4 t3GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=VNiLl9iRUScNvKooIOXwB0vApUnvT9nlXub6jkbjTlo=; b=fJaDNJtjgez9Oq/jkeABr//afBngZwQNFNljFGtNHyuChZTO+hhu4o/W6y7Tf9emxy pLyIxgNAXt7xwL83vitD9LDKz18C47Q9BLUCClNZc90qUrRq8mJR/pPLJJ60wOQQA/D1 aFOjUYEI/S2ZdSdWuLvq9cERTQTpLCDQONHkfHEFv8mP5mPqBEP8lbkWxCskXHCzjCjj /x3qa7h9GkdiVj3SkvyL+qASOOviMYxo1Xs/PRHo7p+MqJRYM2+eEP5uXInpgeIGFtxf 9zevfgsgfND2Z3CITApMN0vi3hKh6I7xGyVy44sM4AQE2LZLJvzCRCcomZdLX7gn54NF QpSw== 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 97si6455916plc.263.2017.11.15.00.35.37; Wed, 15 Nov 2017 00:35:49 -0800 (PST) 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 S1755880AbdKOH4E (ORCPT + 88 others); Wed, 15 Nov 2017 02:56:04 -0500 Received: from mga01.intel.com ([192.55.52.88]:47218 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753957AbdKOHz6 (ORCPT ); Wed, 15 Nov 2017 02:55:58 -0500 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2017 23:55:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,398,1505804400"; d="scan'208";a="2834800" Received: from elena-thinkpad-x230.fi.intel.com ([10.237.72.87]) by fmsmga001.fm.intel.com with ESMTP; 14 Nov 2017 23:55:54 -0800 From: Elena Reshetova To: peterz@infradead.org Cc: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, keescook@chromium.org, tglx@linutronix.de, mingo@redhat.com, ishkamiel@gmail.com, paulmck@linux.vnet.ibm.com, stern@rowland.harvard.edu, Elena Reshetova Subject: [PATCH v2] refcount_t vs. atomic_t ordering differences Date: Wed, 15 Nov 2017 09:55:50 +0200 Message-Id: <1510732551-25547-1-git-send-email-elena.reshetova@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes in v2: - typos and english are fixed based on Randy Dunlap's proof reading - structure of document improved: * definitions now in the beginning * confusing examples removed * less redundancy overall and more up-to-the-point text - definitions try to follow LKMM defined in github.com/aparri/memory-model/blob/master/Documentation/explanation.txt Elena Reshetova (1): refcount_t: documentation for memory ordering differences Documentation/refcount-vs-atomic.txt | 124 +++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 Documentation/refcount-vs-atomic.txt -- 2.7.4 From 1583968599164022568@xxx Mon Nov 13 16:22:51 +0000 2017 X-GM-THRID: 1583959574111852755 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread