ANDROID: add vendor fields to lruvec to record refault stats
struct lruvec :: ANDROID_VENDOR_DATA(1) It is pointer to a struct to record the following message: 1)the account of workingset_restore pages of cached anonymous and file pages This is used to adjust the strategy and amount of reclaiming data. Bug: 225795494 Change-Id: I34e57ee23b6c97ac91effa5b72513d238335a996 Signed-off-by: Bing Han <bing.han@transsion.com> (cherry picked from commit 1b14ae01b09dfde89da470cac8415cefaca824fb) (cherry picked from commit dcac70709fb59478979519d7502b2bb5b8389ff6)
This commit is contained in:
parent
a80f228e59
commit
3cea2a67dc
1 changed files with 1 additions and 0 deletions
|
|
@ -636,6 +636,7 @@ struct lruvec {
|
|||
#ifdef CONFIG_MEMCG
|
||||
struct pglist_data *pgdat;
|
||||
#endif
|
||||
ANDROID_VENDOR_DATA(1);
|
||||
};
|
||||
|
||||
/* Isolate unmapped pages */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue