1

mm: fix clean_record_shared_mapping_range kernel-doc

Turn the a), b) into an unordered ReST list and remove the unnecessary
'Note:' prefix.

Link: https://lkml.kernel.org/r/20230818200630.2719595-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
Matthew Wilcox (Oracle) 2023-08-18 21:06:29 +01:00 committed by Andrew Morton
parent 853f62a304
commit 01a7eb3e20

View File

@ -288,13 +288,14 @@ EXPORT_SYMBOL_GPL(wp_shared_mapping_range);
* @end: Pointer to the number of the last set bit in @bitmap. * @end: Pointer to the number of the last set bit in @bitmap.
* none set. The value is modified as new bits are set by the function. * none set. The value is modified as new bits are set by the function.
* *
* Note: When this function returns there is no guarantee that a CPU has * When this function returns there is no guarantee that a CPU has
* not already dirtied new ptes. However it will not clean any ptes not * not already dirtied new ptes. However it will not clean any ptes not
* reported in the bitmap. The guarantees are as follows: * reported in the bitmap. The guarantees are as follows:
* a) All ptes dirty when the function starts executing will end up recorded *
* in the bitmap. * * All ptes dirty when the function starts executing will end up recorded
* b) All ptes dirtied after that will either remain dirty, be recorded in the * in the bitmap.
* bitmap or both. * * All ptes dirtied after that will either remain dirty, be recorded in the
* bitmap or both.
* *
* If a caller needs to make sure all dirty ptes are picked up and none * If a caller needs to make sure all dirty ptes are picked up and none
* additional are added, it first needs to write-protect the address-space * additional are added, it first needs to write-protect the address-space