Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4119014pxu; Mon, 12 Oct 2020 09:56:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwoOQ6CeFwZdC8+BeaKhAHylzvgIRJFHvdk0ooSdmo+3c68KL1qfiJdOPoshVSPOJ3u28F X-Received: by 2002:a05:6402:943:: with SMTP id h3mr15257337edz.88.1602521815807; Mon, 12 Oct 2020 09:56:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602521815; cv=none; d=google.com; s=arc-20160816; b=ADEo/+aj0yI4Xgs++/TlCjb28DPU5e0VlheuGFCiTSc3er3HEZUMqNCHu6TZoHT2q3 wjrQGYJS5/dG8Y71SsvI5q5uiZ8G1zvqwF5IBi/mFf66ZMnavnzrzjSnC0hdcWDn4z5g gfhiZmsdqtSCgnJ/lhtsTxqDF3DYOEOzKBSFTzwAG1FkPuO3nCfGO8uJNZwQshp7LVjw 6uLO18qse7ATD15PEcIu03/tEo2y3ejGieszfiFuqjvt6tjspkdxn34lLWHqXm9NVMom wgQ5g1I8BeYy6RLDsfubpjYNweL9+aivNVKupIxb+ANqVBSZUpU9XdIPtWBJAPrGIPrK h1ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=0xPKHcc8MTxN9G6km2QTOKG69v7B4xiLbgAzISFd/e0=; b=IDeohTImpqH1hh8S05zni91vpCwuKqpmss6SX+FdeY3QyNZGZnY1otItKWn2VVhh6X Yp8n7T7RP5Ef0OazuzgsGNoNfPZCilVTZTPvzCmX43cDlvSWiK5Ng7AGkwAzQlanEp9d NKg4zuYQPbnsF/V5o7JncqJJxyG9Smh6KKnQB1dfKlPhgeCbowkDwmF+BAbFr5Z0qjx0 SbOdkb/S3fR1KPalBRO5Udr9l4FEazEeE2ZwyWFvHmIR8wbqaGSRD3phVbKvxGE+Vh46 umPxv5uADOv9dcQK8Hp7BX3LApae0dO5kZJ+aBpEGzirULriPGeTN5Cu2Ws09r6QQNLQ Zxog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=kz3byLEj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si4427289ede.427.2020.10.12.09.56.33; Mon, 12 Oct 2020 09:56:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=kz3byLEj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403990AbgJLQxk (ORCPT + 99 others); Mon, 12 Oct 2020 12:53:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403984AbgJLQxk (ORCPT ); Mon, 12 Oct 2020 12:53:40 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3D4AC0613D0; Mon, 12 Oct 2020 09:53:39 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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