On Fri 17-01-25 12:41:40, zhiguojiang wrote:Yes, what I mean is that we hope to reclaim accurately the specified
[...]
In response to the above situation, we need reclaim only the normalMemory cgroup reclaim doesn't allocate the memory directly. This is done
zone's memory occupied by memcg by try_to_free_mem_cgroup_pages(), in
order to solve the issues of the gfp flags allocations and failure due
to gfp flags limited only to alloc memory from the normal zone. At this
point, if the memcg memory reclaimed by try_to_free_mem_cgroup_pages()
mainly comes from the movable zone, which cannot solve such problems.
by the page allocator called before the memory is charged. The memcgIn a dual zone system with both movable and normal zones, we encountered
charging is then responsible for reclaiming charges and that is not
really zone aware.
Could you describe problem that you are trying to solve?