[v2,1/2] docs/mm: Page Reclaim: add page label to allow external references

Message ID 20230110152358.2641910-2-rppt@kernel.org
State New
Headers
Series docs/mm: start filling out new structure |

Commit Message

Mike Rapoport Jan. 10, 2023, 3:23 p.m. UTC
  From: "Mike Rapoport (IBM)" <rppt@kernel.org>

Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
---
 Documentation/mm/page_reclaim.rst | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Bagas Sanjaya Jan. 12, 2023, 9:40 a.m. UTC | #1
On Tue, Jan 10, 2023 at 05:23:57PM +0200, Mike Rapoport wrote:
> diff --git a/Documentation/mm/page_reclaim.rst b/Documentation/mm/page_reclaim.rst
> index 50a30b7f8ac3..3fccde066436 100644
> --- a/Documentation/mm/page_reclaim.rst
> +++ b/Documentation/mm/page_reclaim.rst
> @@ -1,5 +1,7 @@
>  .. SPDX-License-Identifier: GPL-2.0
>  
> +.. _page_reclaim:
> +
>  ============
>  Page Reclaim
>  ============

Shouldn't this be better squashed to [2/2] as the latter have the
cross-reference?
  

Patch

diff --git a/Documentation/mm/page_reclaim.rst b/Documentation/mm/page_reclaim.rst
index 50a30b7f8ac3..3fccde066436 100644
--- a/Documentation/mm/page_reclaim.rst
+++ b/Documentation/mm/page_reclaim.rst
@@ -1,5 +1,7 @@ 
 .. SPDX-License-Identifier: GPL-2.0
 
+.. _page_reclaim:
+
 ============
 Page Reclaim
 ============