Skip to contentSkip to conversation

mm-mmap-fix-comment-of-unmapped_area_topdown.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Feb 3, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled

     Subject: mm/mmap: fix comment of unmapped_area{_topdown}

has been removed from the -mm tree. Its filename was
mm-mmap-fix-comment-of-unmapped_area_topdown.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Vernon Yang <[email protected]>
Subject: mm/mmap: fix comment of unmapped_area{_topdown}
Date: Wed, 11 Jan 2023 21:20:36 +0800

The low_limit of unmapped area information is inclusive, and the hight_limit is not, so make symbol to be [ instead of (.

And replace hight_limit to high_limit.

Fixes 3499a13168da ("mm/mmap: use maple tree for unmapped_area{_topdown}")
Cc Liam R. Howlett <[email protected]>
Cc Matthew Wilcox <[email protected]>

---

mm/mmap.c renamed from mm/mmap.c~mm-mmap-fix-comment-of-unmapped_area_topdown +5 -5
@@ -1558,8 +1558,8 @@ static inline int accountable_mapping(st
  * the correct alignment and offset, all from @info. Note: current->mm is used
  * for the search.
  *
- * @info: The unmapped area information including the range (low_limit -
- * hight_limit), the alignment offset and mask.
+ * @info: The unmapped area information including the range [low_limit -
+ * high_limit), the alignment offset and mask.
  *
  * Return: A memory address or -ENOMEM.
  */
@@ -1585,11 +1585,11 @@ static unsigned long unmapped_area(struc
 
 /**
  * unmapped_area_topdown() - Find an area between the low_limit and the
- * high_limit with * the correct alignment and offset at the highest available
+ * high_limit with the correct alignment and offset at the highest available
  * address, all from @info. Note: current->mm is used for the search.
  *
- * @info: The unmapped area information including the range (low_limit -
- * hight_limit), the alignment offset and mask.
+ * @info: The unmapped area information including the range [low_limit -
+ * high_limit), the alignment offset and mask.
  *
  * Return: A memory address or -ENOMEM.
  */

_

Patches currently in -mm which might be from [email protected] are