Commit 623f594e authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

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@avx2Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent af884cd4
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
struct pid_entry { struct pid_entry {
const char *name; const char *name;
int len; unsigned int len;
umode_t mode; umode_t mode;
const struct inode_operations *iop; const struct inode_operations *iop;
const struct file_operations *fop; const struct file_operations *fop;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment