From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932551AbdK2Mim (ORCPT ); Wed, 29 Nov 2017 07:38:42 -0500 Received: from mga14.intel.com ([192.55.52.115]:3192 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753263AbdK2Mil (ORCPT ); Wed, 29 Nov 2017 07:38:41 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,473,1505804400"; d="scan'208";a="7195180" From: Elena Reshetova To: peterz@infradead.org Cc: linux-kernel@vger.kernel.org, keescook@chromium.org, david@fromorbit.com, Elena Reshetova Subject: [PATCH v3] refcount_t vs. atomic_t ordering differences Date: Wed, 29 Nov 2017 14:36:35 +0200 Message-Id: <1511958996-19501-1-git-send-email-elena.reshetova@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes in v3: - fixes from Kees incorporated apart from concrete examples for practical cases. - document converted to rst and linked under core-api 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/core-api/index.rst | 1 + Documentation/core-api/refcount-vs-atomic.rst | 129 ++++++++++++++++++++++++++ 2 files changed, 130 insertions(+) create mode 100644 Documentation/core-api/refcount-vs-atomic.rst -- 2.7.4