mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
LUR: Revert "UPSTREAM: mm/vmscan.c: use update_lru_size() in update_lru_sizes()"
The LRU function is not compatible with GKI, causing GKI to fail to start, so revert. This reverts commit 78201f9570128320c849f6a527e1a55b9e2585ed. Change-Id: I74fcb0d3720b84bc82e36f15846b3518aac136c8 Reviewed-on: https://gerrit.mot.com/2609776 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
7a008015a5
commit
a281a3400d
1 changed files with 4 additions and 1 deletions
|
|
@ -1722,7 +1722,10 @@ static __always_inline void update_lru_sizes(struct lruvec *lruvec,
|
|||
if (!nr_zone_taken[zid])
|
||||
continue;
|
||||
|
||||
update_lru_size(lruvec, lru, zid, -nr_zone_taken[zid]);
|
||||
__update_lru_size(lruvec, lru, zid, -nr_zone_taken[zid]);
|
||||
#ifdef CONFIG_MEMCG
|
||||
mem_cgroup_update_lru_size(lruvec, lru, zid, -nr_zone_taken[zid]);
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue