mm/vmalloc: add code comment for find_vmap_area_exceed_addr()
authorBaoquan He <bhe@redhat.com>
Tue, 7 Jun 2022 10:59:58 +0000 (18:59 +0800)
committerakpm <akpm@linux-foundation.org>
Fri, 17 Jun 2022 02:48:29 +0000 (19:48 -0700)
commit153090f2c6d595c9636c582ed4b6c4dac1739a41
tree4ac5e0f569363b67fc9f70917ce96b72753aae23
parentbaa468a648b489e35475c8de9dd1d77f0a687b4d
mm/vmalloc: add code comment for find_vmap_area_exceed_addr()

Its behaviour is like find_vma() which finds an area above the specified
address, add comment to make it easier to understand.

And also fix two places of grammer mistake/typo.

Link: https://lkml.kernel.org/r/20220607105958.382076-5-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmalloc.c