diff options
Diffstat (limited to 'ashmemtest-expanded/test3.txt')
-rw-r--r-- | ashmemtest-expanded/test3.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ashmemtest-expanded/test3.txt b/ashmemtest-expanded/test3.txt new file mode 100644 index 0000000..90eb970 --- /dev/null +++ b/ashmemtest-expanded/test3.txt @@ -0,0 +1,20 @@ +# Like test 2, but use ASHMEM_PURGE_ALL_CACHES ioctl instead. +# Make sure that purge returns 500 pages. + +getpages 1000 +unpin 0 100 +unpin 200 300 +unpin 400 500 +unpin 600 700 +unpin 800 900 +purge +pin 0 100 +pin 100 200 +pin 200 300 +pin 300 400 +pin 400 500 +pin 500 600 +pin 600 700 +pin 700 800 +pin 800 900 +pin 900 1000 |