one copy-pasta error below:

On 1/12/21 8:11 AM, Liam R. Howlett wrote:
> Use the new maple tree data structure to find an unmapped area.
> 
> Signed-off-by: Liam R. Howlett <[email protected]>
> ---
>  mm/mmap.c | 249 ++++++------------------------------------------------
>  1 file changed, 27 insertions(+), 222 deletions(-)
> 
> diff --git a/mm/mmap.c b/mm/mmap.c
> index f123f9c97dfe8..3b3084ee309b7 100644
> --- a/mm/mmap.c
> +++ b/mm/mmap.c
> @@ -2040,260 +2040,65 @@ unsigned long mmap_region(struct file *file, 
> unsigned long addr,
>       return error;
>  }
>  
> +/* unmapped_area() Find an area between the low_limit and the high_limit with
> + * 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.
> + *
> + * Return: A memory address or -ENOMEM.
> + */
>  static unsigned long unmapped_area(struct vm_unmapped_area_info *info)
>  {
...
>  }
>  
> +/* unmapped_area() Find an area between the low_limit and the high_limit with

s/unmapped_area/unmapped_area_topdown/

> + * 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.
> + *
> + * Return: A memory address or -ENOMEM.
> + */
>  static unsigned long unmapped_area_topdown(struct vm_unmapped_area_info 
> *info)
>  {

thanks.
-- 
~Randy

Reply via email to