summaryrefslogtreecommitdiff
path: root/ashmemtest-expanded/example.txt
blob: 73ae92c252d2970b33bef96852ddf4cdaf5f9c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Example input for ashmemtest-expanded test program.

# Get 1000 pages
getpages 1000

# Unpin pages 100..200
unpin 100 200

# Unpin pages 400..300 (in that order, e.g. backward)
unpin 400 300

# Allocate huge chunk (90% of physical RAM)
alloc 90

# Pin 100..200 back
pin 100 200

# Pin 300..400 back (in normal order)
pin 300 400

# Purge all
purge