Messages in this thread | | | From | "Aneesh Kumar K.V" <> | Subject | Re: [PATCH v5 2/6] mm/cma: introduce new zone, ZONE_CMA | Date | Tue, 30 Aug 2016 18:10:46 +0530 |
| |
"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> writes:
> .... > >> static inline void check_highest_zone(enum zone_type k) >> { >> - if (k > policy_zone && k != ZONE_MOVABLE) >> + if (k > policy_zone && k != ZONE_MOVABLE && !is_zone_cma_idx(k)) >> policy_zone = k; >> } >> > > > Should we apply policy to allocation from ZONE CMA ?. CMA reserve > happens early and may mostly come from one node. Do we want the > CMA allocation to fail if we use mbind(MPOL_BIND) with a node mask not > including that node on which CMA is reserved, considering CMA memory is > going to be used for special purpose.
Looking at this again, I guess CMA alloc is not going to depend on memory policy, but this is for other movable allocation ?
-aneesh
| |