diff options
| author | Christoph Hellwig <[email protected]> | 2014-04-22 21:11:51 +0000 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2014-04-22 21:11:51 +0000 |
| commit | 22328d712dd7fdc984d17da2121be840d1f844cd (patch) | |
| tree | 678de2634238b10bfcbf72f1ded34faee9919f32 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | xfs: handle duplicate entries in xfs_mru_cache_insert (diff) | |
| download | kernel-22328d712dd7fdc984d17da2121be840d1f844cd.tar.gz kernel-22328d712dd7fdc984d17da2121be840d1f844cd.zip | |
xfs: embedd mru_elem into parent structure
There is no need to do a separate allocation for each mru element, just
embedd the structure into the parent one in the user. Besides saving
a memory allocation and the infrastructure required for it this also
simplifies the API.
While we do major surgery on xfs_mru_cache.c also de-typedef it and
make struct mru_cache private to the implementation file.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
