[GIT PULL] slab fixes for 6.1-rc4

From: Vlastimil Babka
Date: Wed Nov 09 2022 - 09:48:17 EST


Linus,

please pull the latest slab fixes from:

git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.1-rc4-fixes

Most are small fixups as described bellow, except the !CONFIG_TRACING commit
eb4940d4adf5 which would be otherwise done in the next merge window as part
of upcoming hardening changes. But we realized it can make the kmalloc waste
tracking introduced in this window inaccurate, so decided to go with it now.

Thanks, Vlastimil

======================================

* Remove !CONFIG_TRACING kmalloc() wrappers intended to save a function call,
due to incompatilibity with recently introduced wasted space tracking and
planned hardening changes.

* A tracing parameter regression fix, by Kees Cook.

* Two kernel-doc warning fixups, by Lukas Bulwahn and myself.

----------------------------------------------------------------
Kees Cook (1):
mm/slab_common: Restore passing "caller" for tracing

Lukas Bulwahn (1):
mm/slab_common: repair kernel-doc for __ksize()

Vlastimil Babka (2):
mm/slab: remove !CONFIG_TRACING variants of kmalloc_[node_]trace()
mm, slab: remove duplicate kernel-doc comment for ksize()

include/linux/slab.h | 23 -----------------------
mm/slab_common.c | 24 ++++--------------------
2 files changed, 4 insertions(+), 43 deletions(-)