ANDROID: mm: pagemap: add OEM data to struct readahead_control
Wireless devices have more diverse and complex usage scenarios, such as application start up or game loading. Different scenarios may require different readahead parameters and readahead mechanisms. Add an OEM data filed to readahead_control to support OEM customized modification for readahead operation Bug: 335565972 Bug: 407940982 Change-Id: I05eeca1ef21cd0a3b283a3e8e2df95b918b3aae5 Signed-off-by: Wang Jianzheng <11134417@vivo.corp-partner.google.com> (cherry picked from commit 66c787a4906fdbe2160b6301da6a05dd1020ff51) Signed-off-by: ying zuxin <11154159@vivo.com>
This commit is contained in:
committed by
Carlos Llamas
parent
b1a4684b68
commit
dafb2377be
@@ -1358,6 +1358,7 @@ struct readahead_control {
|
||||
unsigned int _batch_count;
|
||||
bool _workingset;
|
||||
unsigned long _pflags;
|
||||
ANDROID_OEM_DATA(1);
|
||||
};
|
||||
|
||||
#define DEFINE_READAHEAD(ractl, f, r, m, i) \
|
||||
|
||||
Reference in New Issue
Block a user