[PATCH v2 0/2] guarantee natural alignment for kmalloc()
From: Vlastimil Babka
Date: Mon Aug 26 2019 - 07:16:45 EST
After a while, here's v2 of the series, also discussed at LSF/MM [1].
I've updated the documentation bits and expanded changelog. Also measured
effect on SLOB, and found it to be within noise. That required first adding
some accounting for SLOB, which I believe is useful in general, so that
became Patch 1. All other details are in Patch 2 changelog.
[1] https://lwn.net/Articles/787740/
Vlastimil Babka (2):
mm, sl[ou]b: improve memory accounting
mm, sl[aou]b: guarantee natural alignment for kmalloc(power-of-two)
Documentation/core-api/memory-allocation.rst | 4 ++
include/linux/slab.h | 4 ++
mm/slab_common.c | 19 +++++-
mm/slob.c | 62 +++++++++++++++-----
mm/slub.c | 14 ++++-
5 files changed, 82 insertions(+), 21 deletions(-)
--
2.22.1