function ov rootfs drop caches

NAME [edit section]

ov_rootfs_drop_caches

SYNOPSIS [edit section]

DESCRIPTION [edit section]

This function uses the /proc filesystem to flush all the memory pages caches on the target. This is done to reduce the variability in tests by starting tests without any data cached by the kernel.

EXAMPLES [edit section]

Here are some sample invocations:

ENVIRONMENT and ARGUMENTS [edit section]

This requires the /proc filesystem on the target.

RETURN [edit section]

Aborts the job if an error is encountered performing the operation.

SOURCE [edit section]

Located in overlays/base/base-distrib.fuegoclass

SEE ALSO [edit section]