ANDROID: Allow vendor module to reclaim a memcg

Export try_to_free_mem_cgroup_pages function to allow vendor modules to reclaim a memory cgroup.

Bug: 192052083

Signed-off-by: Liujie Xie <xieliujie@oppo.com>
Change-Id: Iec6ef50f5c71c62d0c9aa6de90e56a143dac61c1
This commit is contained in:
Liujie Xie
2021-06-25 22:21:35 +08:00
committed by Suren Baghdasaryan
parent f41a95eadc
commit a8385d61f2

View File

@@ -3419,6 +3419,7 @@ unsigned long try_to_free_mem_cgroup_pages(struct mem_cgroup *memcg,
return nr_reclaimed;
}
EXPORT_SYMBOL_GPL(try_to_free_mem_cgroup_pages);
#endif
static void age_active_anon(struct pglist_data *pgdat,