Messages in this thread | | | Date | Tue, 26 May 2015 15:59:26 -0700 | From | Mike Kravetz <> | Subject | Re: [PATCH v2 1/2] mm/hugetlb: compute/return the number of regions added by region_add() |
| |
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
| |