|
|
Log in / Subscribe / Register

Extend and reorganize Highmem's documentation

From:  "Fabio M. De Francesco" <fmdefrancesco-AT-gmail.com>
To:  Ira Weiny <ira.weiny-AT-intel.com>, Andrew Morton <akpm-AT-linux-foundation.org>, Catalin Marinas <catalin.marinas-AT-arm.com>, "Matthew Wilcox (Oracle)" <willy-AT-infradead.org>, Will Deacon <will-AT-kernel.org>, Peter Collingbourne <pcc-AT-google.com>, Vlastimil Babka <vbabka-AT-suse.cz>, Sebastian Andrzej Siewior <bigeasy-AT-linutronix.de>, linux-kernel-AT-vger.kernel.org, linux-doc-AT-vger.kernel.org, outreachy-AT-lists.linux.dev
Subject:  [PATCH v4 0/4] Extend and reorganize Highmem's documentation
Date:  Thu, 28 Apr 2022 23:24:51 +0200
Message-ID:  <20220428212455.892-1-fmdefrancesco@gmail.com>
Cc:  "Fabio M. De Francesco" <fmdefrancesco-AT-gmail.com>
Archive-link:  Article

This series has the purpose to extend and reorganize Highmem's
documentation.

This is a work in progress because some information should still be moved
from highmem.rst to highmem.h and highmem-internal.h. Specifically I'm
talking about moving the "how to" information to the relevant headers, as
it as been suggested by Ira Weiny (Intel).

Also, this is a work in progress because some kdocs in highmem.h and
highmem-internal.h should be improved.

However, I think (and hope that my thoughts are also shared by Maintainers
and Reviewers) that this series constitues a sensible step forward
improving Highmem's documentation, despite some important issues are not
yet addressed.

Changes from v1 to v2:

        1/4 - Fix typos (Mike Rapoport); re-write the description of @page
              because the original was wrong (Ira Weiny); add Ira's and
              Mike's tags in the commit message.
        2/4 - Add Ira's and Mike's tags in the commit message.
        3/4 - Rework the subject to better summarize what this patch
              changes; merge the section which was removed from highmem.rst
              with the kdocs of highmem.h (suggested by Ira Weiny); add
              Ira's tag in the commit message.
        4/4 - Reformulate a sentence that was incomprehensible due to my
              own mistakes in copying and pasting the text of another
              paragraph (problem noted by Ira Weiny); refer to the kdocs
              of kmap_local_page () to show how nested mappings should be
              handled; fix grammar error; add Ira's tag in the commit
              message.

Changes from v2 to v3:

        1/4 - Add a deprecation notice to kunmap_atomic() for consistency
              with the same notice in kmap_atomic() (Sebastian Andrzej
              Siewior); shorten subject and extend commit message.
        2/4 - No changes.
        3/4 - No changes.
        4/4 - Correct a technical inaccuracy about preemption disabling /
              re-enabling in kmap_atomic() / kunmap_atomic() (Sebastian
              Andrzej Siewior).

Changes from v3 to v4:

	1/4 - Correct some techinal inaccuracies about the side effects
	      of calling kmap_atomic() and kmap_local_page() (Sebastian
	      Andrzej Siewior); drop "Acked-by:" and "Reviewed-by:" tags
	      because relevant parts of this patch have changed.
	2/4 - No changes.
	3/4 - No changes.
	4/4 - Shorten a couple of paragraphs by removing redundant
	      information (Sebastian Andrzej Siewior).

Fabio M. De Francesco (4):
  mm/highmem: Fix kernel-doc warnings in highmem*.h
  Documentation/vm: Include kdocs from highmem*.h into highmem.rst
  Documentation/vm: Move "Using kmap-atomic" from highmem.rst to
    highmem.h
  Documentation/vm: Rework "Temporary Virtual Mappings" section

 Documentation/vm/highmem.rst     | 100 ++++++++++++++++++-------------
 include/linux/highmem-internal.h |  18 +++++-
 include/linux/highmem.h          |  51 ++++++++++++----
 3 files changed, 113 insertions(+), 56 deletions(-)

-- 
2.34.1



Copyright © 2022, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds