On Sun, Jan 26, 2014 at 07:52:19PM -0800, Davidlohr Bueso wrote: > From: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> > > 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@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> > [Updated changelog] > Signed-off-by: Davidlohr Bueso <davidlohr@xxxxxx> Reviewed-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>