Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3102945imu; Fri, 18 Jan 2019 04:59:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN466Qj7EspEtJkUWuXHJyLnsQmdCJ9/vGbf4DdKqaHimS5UqkRrqotBGI7dwwoxUOt7KGOu X-Received: by 2002:a63:295:: with SMTP id 143mr16944523pgc.362.1547816393385; Fri, 18 Jan 2019 04:59:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547816393; cv=none; d=google.com; s=arc-20160816; b=rPhNNlibwwxtbl3su2RkySyxQFV561QI3VtCoTeRuROFsj2t/vcsErThY9pfN4GkXq 7ghIM2JO6U6O6AyKhGENQ1plkBlNtEox1jbYBOuXPf8T1mVFfyP54XkX9v3o4J705MAV oiGnn1RPrc2TBetPwS51O4pQt7+jy4FHnndg4x1s1zDGVyNNFdeCC/HtIjhmUpu81G9b VfR7AJAw39V06nl6RjhjkTwKyiMd+vt6l1mdXW3WGkA4eYOfpfPSXu2JIROzcwAxTWue prX+d1RsyGYdGPeTHfC+uK44mnzrYFFM4TfLHrkv0jkOHRA5Kkvoq3tAwAnfD7AKiHlF jUrw== 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:dkim-signature; bh=t+3BHkjGp9zr2zQT2PFcN2GOfV8n4YxVKqjrZKzxlAU=; b=Lc/8pt5NocGGc4oumzqe0QZm3PuCegoPFKqznqoqGYTExzG9/33EU00gLfU+jZ1Qdd G+tlzWl5iDYBe03083P85eet/g4Jq3YuEk7dyWqvu2Q1ecWhZJdec03cMvUs9o8CdSYD dheEp06imRs6gMJBwwnpVK61nqKOiZsuaZfgqzyxj/wq/QjvywzJv9iXq0dO5Eb5TPVt eQC0KD5K6DnKqMQ+ZAbSar7roG/iqADonRSLcgAoJC0S5XVi8G7i7lUVgYCJ6bl1aWhw Is7sqnYIJMAmgANQBPtygA7uRJu3gL3SItD8VbyiLU/chtBPPldyGBGt4Z7o40etUGhj S7dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XJfpt0c3; 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 a10si4230197pgq.270.2019.01.18.04.59.35; Fri, 18 Jan 2019 04:59:53 -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; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XJfpt0c3; 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 S1727850AbfARM4U (ORCPT + 99 others); Fri, 18 Jan 2019 07:56:20 -0500 Received: from mail-ed1-f44.google.com ([209.85.208.44]:37915 "EHLO mail-ed1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726062AbfARM4T (ORCPT ); Fri, 18 Jan 2019 07:56:19 -0500 Received: by mail-ed1-f44.google.com with SMTP id h50so11055446ede.5 for ; Fri, 18 Jan 2019 04:56:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=t+3BHkjGp9zr2zQT2PFcN2GOfV8n4YxVKqjrZKzxlAU=; b=XJfpt0c3B9UFoOeaBDAHJewGVWH0PN1XuJZdn0Dagc5083CZc0Z/0Hrx/YTJR5GChK /yYmcpLiHv21s00LJtmtKfyW4zQ613K/QmqNg/XF5017sVVmxDRVcAqp8y5saFpJYEqn Ozocdh4nR7bI1xYZhY25qhGJMf9flQiQOrA4U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=t+3BHkjGp9zr2zQT2PFcN2GOfV8n4YxVKqjrZKzxlAU=; b=De22WSQP5Sam+MVQYIqzxyZV4kqmbEk8KGxiRsx0AeRQuLHSdjlODTGu8gJZtVz+nG 8cXEz6j/svh7hDcKYNAgF27s5LfGTflUL/+xWnDRv3bXl/88qvHs5JxiB/NyRV8CRV5b m7b12FP1JUsyiYZCyZKdsstFvguPqhtr+euvdPYUvtcyWlkR8q9eJJQpJF3HYkavuUwE V7+YxavDQOJZ+lmmDli5HPgPRK47Ew5Mwr18QINIf7vVg9tlz3UO+yjLbEm3XNcS39fn m71j6J8w1J6mBIfGO/8fQZ4dpEczyYVonDy5gxLrSAKQEYiNLSlCLBA1izi3OTLIjbSB yCwA== X-Gm-Message-State: AJcUukfIIoV/sTdySgUjVJuFqVpR8K+WzT9SGdcrKyYM3v/wDggmEMA3 MvkpRPjKPQk8DrDpPxKHTIVm9w== X-Received: by 2002:a17:906:881:: with SMTP id n1-v6mr14457564eje.7.1547816177931; Fri, 18 Jan 2019 04:56:17 -0800 (PST) Received: from andrea (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id n29sm7259275edd.40.2019.01.18.04.56.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Jan 2019 04:56:17 -0800 (PST) Date: Fri, 18 Jan 2019 13:56:11 +0100 From: Andrea Parri To: Elena Reshetova Cc: mingo@redhat.com, peterz@infradead.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, akpm@linux-foundation.org, keescook@chromium.org, tglx@linutronix.de Subject: Re: [PATCH 1/5] sched: convert sighand_struct.count to refcount_t Message-ID: <20190118125611.GA8205@andrea> References: <1547814450-18902-1-git-send-email-elena.reshetova@intel.com> <1547814450-18902-2-git-send-email-elena.reshetova@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1547814450-18902-2-git-send-email-elena.reshetova@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Elena, [...] > **Important note for maintainers: > > Some functions from refcount_t API defined in lib/refcount.c > have different memory ordering guarantees than their atomic > counterparts. > The full comparison can be seen in > https://lkml.org/lkml/2017/11/15/57 and it is hopefully soon > in state to be merged to the documentation tree. Just a remark to point out that that document got merged, even though in a different location/format: c.f., b6e859f6cdd1 ("docs: refcount_t documentation") Andrea