[PATCH v3 05/14] mm, hugetlb: make vma_resv_map() works for all mapping type

2013-12-17 Thread Joonsoo Kim
Util now, we get a resv_map by two ways according to each mapping type. This makes code dirty and unreadable. So unfiying it. Reviewed-by: Aneesh Kumar K.V Signed-off-by: Joonsoo Kim diff --git a/mm/hugetlb.c b/mm/hugetlb.c index ef70b6f..f394454 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@

[PATCH v3 05/14] mm, hugetlb: make vma_resv_map() works for all mapping type

2013-12-17 Thread Joonsoo Kim
Util now, we get a resv_map by two ways according to each mapping type. This makes code dirty and unreadable. So unfiying it. Reviewed-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/hugetlb.c b/mm/hugetlb.c index