The patch titled Subject: fs/proc/internal.h: shuffle "struct pde_opener" has been added to the -mm tree. Its filename is proc-shuffle-struct-pde_opener.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/proc-shuffle-struct-pde_opener.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/proc-shuffle-struct-pde_opener.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: Alexey Dobriyan <adobriyan@xxxxxxxxx> Subject: fs/proc/internal.h: shuffle "struct pde_opener" List iteration takes more code than anything else which means embedded list_head should be the first element of the structure. Space savings: add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-18 (-18) Function old new delta close_pdeo 228 227 -1 proc_reg_release 86 82 -4 proc_entry_rundown 143 139 -4 proc_reg_open 298 289 -9 Link: http://lkml.kernel.org/r/20191004234753.GB30246@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/proc/internal.h~proc-shuffle-struct-pde_opener +++ a/fs/proc/internal.h @@ -197,8 +197,8 @@ extern ssize_t proc_simple_write(struct * inode.c */ struct pde_opener { - struct file *file; struct list_head lh; + struct file *file; bool closing; struct completion *c; } __randomize_layout; _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are ramfs-support-o_tmpfile.patch proc-change-nlink-under-proc_subdir_lock.patch proc-delete-useless-len-variable.patch proc-shuffle-struct-pde_opener.patch elf-delete-unused-interp_map_addr-argument.patch elf-extract-elf_read-function.patch