I want to avoid 'clear_page' calls for system processes

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
So, I have a tightly controlled, heavy graphics system running on a custom build of android for a client.
I want to avoid calls to 'clear_page()' in the memory manager so there will be more cpu for other things, but just for system processes launched from '/system'. Yes, I know it would affect security. Performance is more important for this application.
What would be a good way to do this, with minimum changes in kernel-space ? I'm thinking that the kernel could check to see if the 'cmdline' for the thread starts with '/system' and then set a flag to avoid the 'clear_page' call?
kernel optimization
New contributor
Dallasite is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
So, I have a tightly controlled, heavy graphics system running on a custom build of android for a client.
I want to avoid calls to 'clear_page()' in the memory manager so there will be more cpu for other things, but just for system processes launched from '/system'. Yes, I know it would affect security. Performance is more important for this application.
What would be a good way to do this, with minimum changes in kernel-space ? I'm thinking that the kernel could check to see if the 'cmdline' for the thread starts with '/system' and then set a flag to avoid the 'clear_page' call?
kernel optimization
New contributor
Dallasite is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
So, I have a tightly controlled, heavy graphics system running on a custom build of android for a client.
I want to avoid calls to 'clear_page()' in the memory manager so there will be more cpu for other things, but just for system processes launched from '/system'. Yes, I know it would affect security. Performance is more important for this application.
What would be a good way to do this, with minimum changes in kernel-space ? I'm thinking that the kernel could check to see if the 'cmdline' for the thread starts with '/system' and then set a flag to avoid the 'clear_page' call?
kernel optimization
New contributor
Dallasite is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
So, I have a tightly controlled, heavy graphics system running on a custom build of android for a client.
I want to avoid calls to 'clear_page()' in the memory manager so there will be more cpu for other things, but just for system processes launched from '/system'. Yes, I know it would affect security. Performance is more important for this application.
What would be a good way to do this, with minimum changes in kernel-space ? I'm thinking that the kernel could check to see if the 'cmdline' for the thread starts with '/system' and then set a flag to avoid the 'clear_page' call?
kernel optimization
kernel optimization
New contributor
Dallasite is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Dallasite is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Dallasite is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Nov 16 at 19:46
Dallasite
1
1
New contributor
Dallasite is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Dallasite is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Dallasite is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Dallasite is a new contributor. Be nice, and check out our Code of Conduct.
Dallasite is a new contributor. Be nice, and check out our Code of Conduct.
Dallasite is a new contributor. Be nice, and check out our Code of Conduct.
Dallasite is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f482230%2fi-want-to-avoid-clear-page-calls-for-system-processes%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown