[PATCH 0/2] Cleanups to hugetlb code

From: Mina Almasry
Date: Thu Sep 19 2019 - 16:04:35 EST


These couple of patches were part of my 'hugetlb_cgroup: Add hugetlb_cgroup
reservation limits' patch series, and Mike recommended that they are split off
into their own since they are generic cleanups that should apply regardless.
Hence, I upload them here as a their own patch series.

They have been already reviewed by Mike as part of the previous series, so
already hold the Reviewed-by tag.

Mina Almasry (2):
hugetlb: region_chg provides only cache entry
hugetlb: remove duplicated code

mm/hugetlb.c | 180 +++++++++++++++++++--------------------------------
1 file changed, 67 insertions(+), 113 deletions(-)

--
2.23.0.351.gc4317032e6-goog