]> git.baikalelectronics.ru Git - kernel.git/commit
fs/proc/base.c: slightly faster /proc/*/limits
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 3 Jan 2019 23:26:09 +0000 (15:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jan 2019 21:13:45 +0000 (13:13 -0800)
commitf9be3a069f2e02f235574946a206d2fbfa9f8930
tree109050108f0e240b417f884a94847e3b4abca05b
parentcd4c0d65f31795feb186e6ecbb4c9efb8a3c01a7
fs/proc/base.c: slightly faster /proc/*/limits

Header of /proc/*/limits is a fixed string, so print it directly without
formatting specifiers.

Link: http://lkml.kernel.org/r/20181203164242.GB6904@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c