From: Alexey Dobriyan Date: Tue, 13 Dec 2016 00:45:08 +0000 (-0800) Subject: proc: make struct pid_entry::len unsigned X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=623f594e7d20e4b5dac50aba5bd23822f2a95d6f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git proc: make struct pid_entry::len unsigned "unsigned int" is better on x86_64 because it most of the time it autoexpands to 64-bit value while "int" requires MOVSX instruction. Link: http://lkml.kernel.org/r/20161029160810.GF1246@avx2 Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/proc/base.c b/fs/proc/base.c index ca651ac00660..e1227bc57090 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -106,7 +106,7 @@ struct pid_entry { const char *name; - int len; + unsigned int len; umode_t mode; const struct inode_operations *iop; const struct file_operations *fop;