mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
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 <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
af884cd4a5
commit
623f594e7d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue