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 (cherry picked from commit a8385d61f27b57d98fb6245a23477c6ed5db4a7c)
This commit is contained in:
parent
326983dc9c
commit
59e1e26589
|
@ -6408,6 +6408,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,
|
||||
|
|
Loading…
Reference in New Issue