mm/vmalloc.c: use "high-order" in description non 0-order pages
authorUladzislau Rezki (Sony) <urezki@gmail.com>
Fri, 6 Sep 2024 09:50:49 +0000 (11:50 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 9 Sep 2024 23:39:17 +0000 (16:39 -0700)
In many places, in the comments, we use both "higher-order" and
"high-order" to describe the non 0-order pages.  That is confusing,
because a "higher-order" statement does not reflect what it is compared
with.

Link: https://lkml.kernel.org/r/20240906095049.3486-1-urezki@gmail.com
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Suggested-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Baoquan He <bhe@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Oleksiy Avramchenko <oleksiy.avramchenko@sony.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmalloc.c

index cf2af80157bcd16cc27140a50fcfd4954d4185b9..166e12c90ff6971c6e7bb651996c88fc6ea4bccd 100644 (file)
@@ -3570,7 +3570,7 @@ vm_area_alloc_pages(gfp_t gfp, int nid,
                        break;
 
                /*
-                * Higher order allocations must be able to be treated as
+                * High-order allocations must be able to be treated as
                 * independent small pages by callers (as they can with
                 * small-page vmallocs). Some drivers do their own refcounting
                 * on vmalloc_to_page() pages, some use page->mapping,
@@ -3633,7 +3633,7 @@ static void *__vmalloc_area_node(struct vm_struct *area, gfp_t gfp_mask,
        page_order = vm_area_page_order(area);
 
        /*
-        * Higher order nofail allocations are really expensive and
+        * High-order nofail allocations are really expensive and
         * potentially dangerous (pre-mature OOM, disruptive reclaim
         * and compaction etc.
         *