proc: : uninline name_to_int()
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 17 Nov 2017 23:26:49 +0000 (15:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Nov 2017 00:10:00 +0000 (16:10 -0800)
commit3ee2a19908f27b8fea8ff14ffa8b755585eb7b4a
tree4dc375234b65b25e1f8088691faad72f80a2cb5b
parentc643401218be0f4ab3522e0c0a63016596d6e9ca
proc: : uninline name_to_int()

Save ~360 bytes.

add/remove: 1/0 grow/shrink: 0/4 up/down: 104/-463 (-359)
function                                     old     new   delta
name_to_int                                    -     104    +104
proc_pid_lookup                              217     126     -91
proc_lookupfd_common                         212     121     -91
proc_task_lookup                             289     194     -95
__proc_create                                588     402    -186

Link: http://lkml.kernel.org/r/20170912194850.GA17730@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/Makefile
fs/proc/internal.h
fs/proc/util.c [new file with mode: 0644]