diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-03-15 17:22:00 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-04-03 15:04:25 -0400 |
commit | 6b5e718cc138ef691e91685535e3ba776acc4893 (patch) | |
tree | b4ce89d2c1d449814ee18ca21a5f358c9388822a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 21bb13276768da7925c0b532037e071877e4fb4d (diff) |
dm bufio: relax alignment constraint on slab cache
The I/O buffer doesn't have to be aligned on block size granularity,
relax alignment to ARCH_KMALLOC_MINALIGN (required to allow DMA from
slab cache memory on some architectures).
Also, set SLAB_RECLAIM_ACCOUNT so that the memory allocated from the
cache is accounted as reclaimable and doesn't inflate the 'used' entry
in the free command.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions