Driver scripts do not need to be executable

They are included.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Update FSF address

Signed-off-by: Mel Gorman <mgorman@suse.de>
postgres: Update download location

Signed-off-by: Mel Gorman <mgorman@suse.de>
stap-fix.sh: Suppress warnings about non-existant files

Signed-off-by: Mel Gorman <mgorman@suse.de>
vmstat: Report percentage of local NUMA hinting faults

Signed-off-by: Mel Gorman <mgorman@suse.de>
watch-numad: Correct signal callback

Signed-off-by: Mel Gorman <mgorman@suse.de>
mmtests: Record the exit code

Signed-off-by: Mel Gorman <mgorman@suse.de>
Add monitors for tracking scheduling information

Signed-off-by: Mel Gorman <mgorman@suse.de>
nas: Do not run ft for class D

Machine has insufficient memory to handle it.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Introduce 'operf --pid' -based profiling hook

This profiling hook is compatible with oprofile in its output, but allows
profiling only an interesting part of a single process instead of the whole
system. The monitor-pre-hook thus expects a third parameter with the PID.
Operf is started using a new script operf_start.sh started on background,
which starts operf, writes the operf's own PID in an operf.pid file and waits
for operf to finish. The monitor-post-hook reads the operf.pid to send
SIGINT to operf and waits for the removal of operf.pid file, which is done
after the startup script finishes waiting for operf to finish.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Introduce 'fullbind_single_instance_cpu' numactl policy, which binds to a single CPU of the node.

The policy is similar to 'fullbind_single_instance_node', but instead of
--cpunodebind it uses --physcpubind to bind to a single logical cpu. The id
it selects is the first one in the list of cpu id's on the node.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Introduce timedmunlock test.

The test first allocates memory area given by TIMEDMUNLOCK_ALLOC_GB parameter,
using mmap with flags MAP_POPULATE | MAP_LOCKED. Then it measures how long it
takes to munlock() this area. Parameter TIMEDMUNLOCK_ALLOC_GB controls how
many iterations are done. The elapsed timings done by clock_gettime() are
accumulated in a timedmunlock.time file .

Fine profile supports profiling hooks with pid support, such as the operf hook.
The pre-hook and post-hook wrap only the munlock() part, communication between
the shellpack and the binary is done using signals and trigger files.

Sample config file is configs/config-global-nhp__timedmunlock which sets
VM_TRANSPARENT_HUGEPAGES_DEFAULT=never

The result extraction is currently based on copy/paste of Cputime which fills
only the elapsed time from timedmunlock.time file, and the rest are zero's.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Do not enable oprofile just to disable it again

Signed-off-by: Mel Gorman <mgorman@suse.de>
Add monitor for /proc/interrupts

Signed-off-by: Mel Gorman <mgorman@suse.de>
mmtests 0.12

o Add monitor for /proc/interrupts
o Do not unnecessarily load oprofile
o Timed munlock test and different NUMA binding policy
o Record exit code
o Do not run ft for NAS class D testing

Signed-off-by: Mel Gorman <mgorman@suse.de>