An error occurred fetching the project authors.
  1. 15 Oct, 2009 1 commit
    • David Rientjes's avatar
      slub: allow stats to be cleared · 78eb00cc
      David Rientjes authored
      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: default avatarDavid Rientjes <rientjes@google.com>
      Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
      78eb00cc
  2. 28 Apr, 2009 1 commit