Re: [PATCH 1/8] mm, hugetlb: unify region structure handling

2014-01-27 Thread Naoya Horiguchi
On Sun, Jan 26, 2014 at 07:52:19PM -0800, Davidlohr Bueso wrote: > From: Joonsoo Kim > > 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

[PATCH 1/8] mm, hugetlb: unify region structure handling

2014-01-26 Thread Davidlohr Bueso
From: Joonsoo Kim 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 re