summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2013-07-25 10:45:05 -0700
committerColin Cross <ccross@android.com>2013-07-26 16:06:45 -0700
commit59d80a5270249b8b0b32b7ce8e081f4fbd41129a (patch)
tree9b468bb4445a57fae9e01acb9ed7546e47a4a650 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent54e5f0eb7634c42b702f8ac0bb7cc2a48f0bc14c (diff)
set the extra_free_kbytes kernel vm tunable
Set the sys.sysctl.extra_free_kbytes property, which will proxy through init to the /proc/sys/vm/extra_free_kbytes tunable (on kernels where it exists). This will ask the kernel to keep more memory free, causing lowmemorykiller to fire earlier and allocations to succeed faster. The size is set to 3 full screen 32bpp buffers. Products can override the size with an absolute or adjustment value using overlays config_extraFreeKbytesAbsolute and config_extraFreeKbytesAdjust. Bug: 10024467 Change-Id: Ib4d4507513ec3c1f4d4ceeb81ed632d1ad643437
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions