The patch titled Subject: mm-slb-guarantee-natural-alignment-for-kmallocpower-of-two-fix has been added to the -mm tree. Its filename is mm-slb-guarantee-natural-alignment-for-kmallocpower-of-two-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-slb-guarantee-natural-alignment-for-kmallocpower-of-two-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-slb-guarantee-natural-alignment-for-kmallocpower-of-two-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-slb-guarantee-natural-alignment-for-kmallocpower-of-two-fix documentation fixlet, per Matthew Cc: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/core-api/memory-allocation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Documentation/core-api/memory-allocation.rst~mm-slb-guarantee-natural-alignment-for-kmallocpower-of-two-fix +++ a/Documentation/core-api/memory-allocation.rst @@ -99,7 +99,7 @@ configuration, but it is a good practice smaller than page size. The address of a chunk allocated with `kmalloc` is aligned to at least -ARCH_KMALLOC_MINALIGN bytes. For sizes of power of two bytes, the +ARCH_KMALLOC_MINALIGN bytes. For sizes which are a power of two, the alignment is also guaranteed to be at least to the respective size. For large allocations you can use :c:func:`vmalloc` and _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are ocfs2-clear-zero-in-unaligned-direct-io-checkpatch-fixes.patch fs-ocfs2-fix-possible-null-pointer-dereferences-in-ocfs2_xa_prepare_entry-fix.patch mm.patch mm-slb-guarantee-natural-alignment-for-kmallocpower-of-two-fix.patch mm-oom-avoid-printk-iteration-under-rcu-fix.patch diff-sucks.patch mm-introduce-madv_cold-fix.patch mm-introduce-madv_pageout-fix-fix.patch drivers-tty-serial-sh-scic-suppress-warning.patch kernel-forkc-export-kernel_thread-to-modules.patch