This patches changes the order of fields of struct pid_entry (file
fs/proc/base.c) in order to avoid a hole on 64bit archs. (8 bytes saved per
object)
It also changes all pid_entry arrays to be const qualified, to make clear they
must not be modified.
Before (on x86_64) :
# size
This patches changes the order of fields of struct pid_entry (file
fs/proc/base.c) in order to avoid a hole on 64bit archs. (8 bytes saved per
object)
It also changes all pid_entry arrays to be const qualified, to make clear they
must not be modified.
Before (on x86_64) :
# size
2 matches
Mail list logo