Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp6006302rwe; Tue, 18 Apr 2023 15:15:59 -0700 (PDT) X-Google-Smtp-Source: AKy350aZZagkcXMR/CcLkscQWyz8jnm6qws6IX3ICqWBtY5waOrAowCqAyzd05vWsDkevyMwJIlv X-Received: by 2002:a05:6a20:d809:b0:ef:c4f6:9130 with SMTP id iv9-20020a056a20d80900b000efc4f69130mr1077937pzb.20.1681856159613; Tue, 18 Apr 2023 15:15:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681856159; cv=none; d=google.com; s=arc-20160816; b=ZwTXaK+pdglpUnFWZP9gmpR4BbM2V98mkXhQSjrKrKIi+TRY32XW8/LQMzYUDIt17c TRvrziHuFrWu/Jwb9mDU6PKRL+xhEMzMSu27rp5ItiiOO0LFrK4r5Vy+A2c0zw47a5U7 1MaxZPKFicNdTtFGbC2gfwo/O+yyzrfS65Cs2tLmMT6aLcJZREa9k552t+DxNpo/nfcq dXIUUG9gE7ITNJUvHlE47yaV4TFiiqbyNRZxa/cGsO9wNjPCNVe45mn3swPHMkxl3SKk 9o490s8u+0AF4VptJcoeBZEc4kW7DLFqIJemTM+D2UI+oykwtj3gZwKqD8cS2QszpQ8z XWOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=JNM/PoaKdJVang9WqsbIURXjXnMB7kVw7Og7DK0+y/k=; b=0C1YAViNo9aDNVfhhrlT81nIsABoK/MWdR1NMy+QNo+fXfF8DqIKn5dSzgK0krhjcW Rs5xYdhwD46F9wqQ3jI2dzPPXk96I/fyN9x1+C9oBN4nybl48JpF9tS0nIgBlx0z9JhH Hzk9rvNg/wxh2YfhUx7lgLMn+RhOAwdo7EWb9fJ4d4v1SUSQCMCCQkSBEFPqmPn/tEpL LD3iWpl5NUZJ5AT96a3k9w0HGFBK3NEkuf28zYwPK1d6h1sBisno78J6oSHqTkjTEaY7 kUBR7pXstBFCgFlfegF3rT852q/9S7isrGMAfwg8EKdMdwIdNYikFgWeadSndrfLyeZn /UHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=NPvn3Y8P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q13-20020aa7960d000000b0063b7b49928fsi9523016pfg.204.2023.04.18.15.15.25; Tue, 18 Apr 2023 15:15:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=NPvn3Y8P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233045AbjDRVtK (ORCPT + 99 others); Tue, 18 Apr 2023 17:49:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232431AbjDRVtI (ORCPT ); Tue, 18 Apr 2023 17:49:08 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C6D7119 for ; Tue, 18 Apr 2023 14:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=JNM/PoaKdJVang9WqsbIURXjXnMB7kVw7Og7DK0+y/k=; b=NPvn3Y8PNf9X253zeDEbvUCEMD gOA4qUsYzuP/RiqVYByAU8E1tcWRLyrDDPdWBL2v8THrJaQ+ArmYTwIZCrdc3rlybWppKyco44g27 QFkSMiHR1g8AawhfyR/Ml8/HpQFb0HmIsBORD9Zvl7rcHItkbCjppHyLtGMXUIFJOXlzxHZfJ7Wbz 1RU2UUvmvKQ1i6jgfcMJpZkfh+3gwGio3Rvb8cNGtgnT8dG4OUU9W1iFB+fPux3x5L8cyO8a+UcOK W7ipP9jQvBItWBIlWS9iv18T59zhMe832aQac7NWnsBI93CCWPVOgtyv+4h66HRM4t2N4eJ7Kt6yy zBFnjF+g==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1potC8-003RF5-25; Tue, 18 Apr 2023 21:49:00 +0000 Date: Tue, 18 Apr 2023 14:49:00 -0700 From: Luis Chamberlain To: Hugh Dickins Cc: akpm@linux-foundation.org, willy@infradead.org, brauner@kernel.org, linux-mm@kvack.org, p.raghav@samsung.com, da.gomez@samsung.com, a.manzanares@samsung.com, dave@stgolabs.net, yosryahmed@google.com, keescook@chromium.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, David Hildenbrand Subject: Re: [PATCH v2 5/6] shmem: update documentation Message-ID: References: <20230309230545.2930737-1-mcgrof@kernel.org> <20230309230545.2930737-6-mcgrof@kernel.org> <6064b468-33fb-3693-54e-6f1f8d316f64@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6064b468-33fb-3693-54e-6f1f8d316f64@google.com> Sender: Luis Chamberlain X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 18, 2023 at 02:41:07PM -0700, Hugh Dickins wrote: > On Tue, 18 Apr 2023, Luis Chamberlain wrote: > > On Mon, Apr 17, 2023 at 10:29:59PM -0700, Hugh Dickins wrote: > > > On Thu, 9 Mar 2023, Luis Chamberlain wrote: > > > > > > > Update the docs to reflect a bit better why some folks prefer tmpfs > > > > over ramfs and clarify a bit more about the difference between brd > > > > ramdisks. > > > > > > > > While at it, add THP docs for tmpfs, both the mount options and the > > > > sysfs file. > > > > > > Okay: the original canonical reference for THP options on tmpfs has > > > been Documentation/admin-guide/mm/transhuge.rst. You're right that > > > they would be helpful here too: IIRC (but I might well be confusing > > > with our Google tree) we used to have them documented in both places, > > > but grew tired of keeping the two in synch. You're volunteering to > > > do so! so please check now that they tell the same story. > > > > Hehe. Sure, we should just make one point to the other. Which one should > > be the authoritive source? > > Documentation/admin-guide/mm/transhuge.rst has been the authoritative > source up until this patch, so I suggest it remain so; but good if you > point to it from this Doc - unless in reading it you find that actually > its account is wrong. (Haha, it refers to fadvise too, never mind that.) Yeah I'll make the tmpfs kdoc point to the transhuge.rst page. I think that's possible. > But the man page is more important than either, so it would be good to > point to that too. Sure I'll have the tmpfs kdoc also point to the tmpfs man page. > Mention the "huge=" option in this document, but > point to elsewhere for the detail of its values. Sounds good. Luis