]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm-hugetlb-add-cache-of-descriptors-to-resv_map-for-region_add-fix
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Aug 2015 23:49:36 +0000 (09:49 +1000)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 27 Aug 2015 23:02:54 +0000 (16:02 -0700)
Orabug: 21652814

fix typo in comment, use more cols

Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 203a5abc2eb0bcd7f8e5a3742467e845de368df8)
Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
mm/hugetlb.c

index 709d7ec53d8c045756d359b0e5bf62248e8304c1..5363a0fdad0e1a159a9075fac4847ab816ab373f 100644 (file)
@@ -334,15 +334,13 @@ out_locked:
  * so that the subsequent region_add call will have all the
  * regions it needs and will not fail.
  *
- * Upon entry, region_chg will also examine the cache of
- * region descriptors associated with the map.  If there
- * not enough descriptors cached, one will be allocated
- * for the in progress add operation.
+ * Upon entry, region_chg will also examine the cache of region descriptors
+ * associated with the map.  If there are not enough descriptors cached, one
+ * will be allocated for the in progress add operation.
  *
- * Returns the number of huge pages that need to be added
- * to the existing reservation map for the range [f, t).
- * This number is greater or equal to zero.  -ENOMEM is
- * returned if a new file_region structure or cache entry
+ * Returns the number of huge pages that need to be added to the existing
+ * reservation map for the range [f, t).  This number is greater or equal to
+ * zero.  -ENOMEM is returned if a new file_region structure or cache entry
  * is needed and can not be allocated.
  */
 static long region_chg(struct resv_map *resv, long f, long t)