]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'slab/for-6.1/kmalloc_size_roundup' into slab/for-next
authorVlastimil Babka <vbabka@suse.cz>
Thu, 29 Sep 2022 09:30:55 +0000 (11:30 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 29 Sep 2022 09:30:55 +0000 (11:30 +0200)
commit24204e76d7102fcf2cc934c9217cb2e6f5236d8a
tree2621791892a2cc5b2df5e762af3843ae47453254
parentb3514850ffa1d02d89aef518c3e98b41f1ee226f
parent502b1be531add487f59c25aed9752ecbad8deb81
Merge branch 'slab/for-6.1/kmalloc_size_roundup' into slab/for-next

The first two patches from a series by Kees Cook [1] that introduce
kmalloc_size_roundup(). This will allow merging of per-subsystem patches using
the new function and ultimately stop (ab)using ksize() in a way that causes
ongoing trouble for debugging functionality and static checkers.

[1] https://lore.kernel.org/all/20220923202822.2667581-1-keescook@chromium.org/

--
Resolved a conflict of modifying mm/slab.c __ksize() comment with a commit that
unifies __ksize() implementation into mm/slab_common.c
include/linux/slab.h
mm/slab_common.c
mm/slob.c