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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFA44EB8FD7 for ; Wed, 6 Sep 2023 14:09:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241458AbjIFOJz (ORCPT ); Wed, 6 Sep 2023 10:09:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232210AbjIFOJy (ORCPT ); Wed, 6 Sep 2023 10:09:54 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F41AECF; Wed, 6 Sep 2023 07:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=2KICmQPQioM7Mq7IhbLtSPWvHTI3/EB2itOUb98EMvs=; b=snaVG0C+Qb1kuAlYoIf4ZBkavW PHRJKqf1J/Q7gcIbsNBrdD8EbUm0KPzHYSRQjRTjeQSVgxlNS6AZkWoZOgvYaYt+NkSlirle1gCOr XiPYgyREJqxkls5Xd0J0y9iuWH7zwz97v5MOvbVZ/ZLjU/tDavRzbP7Ow1Iy9Mu7EYm73r38B6AA6 9Na99VoLgn5DwGQP5dSmEIztgLczEz5yFq81EoHku3QzeYY2h2oBSPm9GKxmXayus6fUKDTNTOy5x zYWZP4fnXWYhgqGXyptKuzdIACY9RuyapQx8bClo0hZECwYL9eCzMJGqdfDS214Ny0ylwVinB/iOt yXLqxbbA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qdtDz-002vwD-EY; Wed, 06 Sep 2023 14:09:43 +0000 Date: Wed, 6 Sep 2023 15:09:43 +0100 From: Matthew Wilcox To: Mike Rapoport Cc: Jonathan Corbet , Andrew Morton , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] docs/mm: Physical Memory: add "Memory map" section Message-ID: References: <20230906074210.3051751-1-rppt@kernel.org> <20230906125214.GK3223@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230906125214.GK3223@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 06, 2023 at 03:52:14PM +0300, Mike Rapoport wrote: > On Wed, Sep 06, 2023 at 01:21:02PM +0100, Matthew Wilcox wrote: > > I don't understand why you've done all this instead of linking to the > > kernel-doc I wrote. > > We can't have it both in Documentation/core-api/mm-api.rst and here without > sphinx complaining: I didn't say "include it here", I said "link to it". I don't see the value in documenting all of these structs here. They should be documented in the subsystem that actually uses them. Just a note that there's per-allocation data stored in struct page should be enough, I think.