Messages in this thread | | | Date | Mon, 27 Jan 2014 16:02:19 -0500 | From | Naoya Horiguchi <> | Subject | Re: [PATCH 1/8] mm, hugetlb: unify region structure handling |
| |
On Sun, Jan 26, 2014 at 07:52:19PM -0800, Davidlohr Bueso wrote: > From: Joonsoo Kim <iamjoonsoo.kim@lge.com> > > Currently, to track reserved and allocated regions, we use two different > ways, depending on the mapping. For MAP_SHARED, we use address_mapping's > private_list and, while for MAP_PRIVATE, we use a resv_map. > > Now, we are preparing to change a coarse grained lock which protect a > region structure to fine grained lock, and this difference hinder it. > So, before changing it, unify region structure handling, consistently > using a resv_map regardless of the kind of mapping. > > Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> > Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> > [Updated changelog] > Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
| |