summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorHarry Yoo <harry.yoo@oracle.com>2026-01-13 09:18:38 +0300
committerVlastimil Babka <vbabka@suse.cz>2026-02-04 12:05:35 +0300
commita13b68d79d5caa5ec0d34b4c0fb2dedf3259fc32 (patch)
treebd6e49cb72b4e644a6e49487baacadd2557f2760 /include/uapi/linux
parentb85f369b81aed457acbea4ad3314218254a72fd2 (diff)
downloadlinux-a13b68d79d5caa5ec0d34b4c0fb2dedf3259fc32.tar.xz
mm/slab: allow specifying free pointer offset when using constructor
When a slab cache has a constructor, the free pointer is placed after the object because certain fields must not be overwritten even after the object is freed. However, some fields that the constructor does not initialize can safely be overwritten after free. Allow specifying the free pointer offset within the object, reducing the overall object size when some fields can be reused for the free pointer. Adjust the document accordingly. Signed-off-by: Harry Yoo <harry.yoo@oracle.com> Link: https://patch.msgid.link/20260113061845.159790-3-harry.yoo@oracle.com Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions