aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sgi-ioc4.txt
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2009-10-15 02:20:22 -0700
committerPekka Enberg <penberg@cs.helsinki.fi>2009-10-15 21:34:12 +0300
commit78eb00cc574d3dbf8e6bed804948a89e8110a064 (patch)
treec0cefa5b5787bb234ba8931775da2071c908e071 /Documentation/sgi-ioc4.txt
parent374576a8b6f865022c0fd1ca62396889b23d66dd (diff)
downloadkernel_samsung_smdk4412-78eb00cc574d3dbf8e6bed804948a89e8110a064.tar.gz
kernel_samsung_smdk4412-78eb00cc574d3dbf8e6bed804948a89e8110a064.tar.bz2
kernel_samsung_smdk4412-78eb00cc574d3dbf8e6bed804948a89e8110a064.zip
slub: allow stats to be cleared
When collecting slub stats for particular workloads, it's necessary to collect each statistic for all caches before the job is even started because the counters are usually greater than zero just from boot and initialization. This allows a statistic to be cleared on each cpu by writing '0' to its sysfs file. This creates a baseline for statistics of interest before the workload is started. Setting a statistic to a particular value is not supported, so all values written to these files other than '0' returns -EINVAL. Cc: Christoph Lameter <cl@linux-foundation.org> Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'Documentation/sgi-ioc4.txt')
0 files changed, 0 insertions, 0 deletions