Re: [PATCH v2 1/2] mm/hugetlb: compute/return the number of regions added by region_add()

From: Mike Kravetz
Date: Tue May 26 2015 - 18:59:55 EST


On 05/25/2015 01:29 PM, Davidlohr Bueso wrote:
On Fri, 2015-05-22 at 20:55 -0700, Mike Kravetz wrote:
+/*
+ * Add the huge page range represented by indicies f (from)
+ * and t (to) to the reserve map. Existing regions will be

How about simply renaming those parameters to from and to across the
entire hugetlb code.

Thanks,
Davidlohr

After adding the notation suggested by Naoya Horiguchi and cleaning
up that specific comment, I think using f and t is OK. See the
documentation only patch:

[PATCH] mm/hugetlb: document the reserve map/region tracking routines

--
Mike Kravetz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/