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=-8.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 81BD4C433E7 for ; Mon, 12 Oct 2020 16:53:44 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 05CEC2080A for ; Mon, 12 Oct 2020 16:53:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="kz3byLEj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 05CEC2080A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 90F9C6B005D; Mon, 12 Oct 2020 12:53:43 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8C00D6B006E; Mon, 12 Oct 2020 12:53:43 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7AEFC6B0070; Mon, 12 Oct 2020 12:53:43 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 4D3646B005D for ; Mon, 12 Oct 2020 12:53:43 -0400 (EDT) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id CE8FA8249980 for ; Mon, 12 Oct 2020 16:53:42 +0000 (UTC) X-FDA: 77363869884.28.eggs07_610a7ae271fc Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin28.hostedemail.com (Postfix) with ESMTP id A367E6C05 for ; Mon, 12 Oct 2020 16:53:42 +0000 (UTC) X-HE-Tag: eggs07_610a7ae271fc X-Filterd-Recvd-Size: 2486 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf43.hostedemail.com (Postfix) with ESMTP for ; Mon, 12 Oct 2020 16:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=0xPKHcc8MTxN9G6km2QTOKG69v7B4xiLbgAzISFd/e0=; b=kz3byLEjQRbXUjKEwxSctQX5ib JSA+qNZHtA9aewEXAvoV2M3/g5ArH8yJiAAE/kke62YDaHPl5o3/+xMrd/i+waTWdk3FhLyFNeYuc 4Nk7+Bj9BYXz1xAwd03P2XqWJ4u6gF0YTzxkwS+nNCJwrPuiM7tYRinTk9MOFt20vbPG0TllKA7E7 FUnU7I/afnKhT4pPw79tju4VhbduW2vl13IeqsRBdekOuYvNqMsrEYykSyc7jGqRQHVc5tHH6aPY+ 3213WdwwwrFYELr6mggaHw1E8IyEoal3f+Bv/YjhibFGCElAxvPsPRtwNZbUqKeJg0h3VUzn9VsZs n9KroRrg==; Received: from [2601:1c0:6280:3f0::507c] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kS14o-0005Ww-Nr; Mon, 12 Oct 2020 16:53:35 +0000 Subject: Re: [PATCH v2 21/22] mpool: add documentation To: Nabeel M Mohamed , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, linux-mm@kvack.org, linux-nvdimm@lists.01.org Cc: smoyer@micron.com, gbecker@micron.com, plabat@micron.com, jgroves@micron.com References: <20201012162736.65241-1-nmeeramohide@micron.com> <20201012162736.65241-22-nmeeramohide@micron.com> From: Randy Dunlap Message-ID: <57fef732-f63d-9c9c-e368-660c654a7438@infradead.org> Date: Mon, 12 Oct 2020 09:53:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201012162736.65241-22-nmeeramohide@micron.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > diff --git a/drivers/mpool/mpool-locking.rst b/drivers/mpool/mpool-locking.rst > new file mode 100644 > index 000000000000..6a5da727f2fb > --- /dev/null > +++ b/drivers/mpool/mpool-locking.rst > @@ -0,0 +1,90 @@ > +Object Layout Reference Counts > +------------------------------ > + > +The reference counts for an object layout (eld_ref) are protected > +by mmi_co_lock or mmi_uc_lock of the object's MDC dependiing upon depending > +which tree it is in at the time of acquisition. -- ~Randy