]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Shrink struct task_struct::oomkilladj
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 17 Oct 2007 06:27:14 +0000 (23:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:53 +0000 (08:42 -0700)
commit3befe7ceb8d39a56a9ea55dd2da8b4bd9ddcdd36
treef22b82dec859f5a6faeaf6508b9595c4753f955b
parent68a9bd0cd5824073e3232b102011ec568a517646
Shrink struct task_struct::oomkilladj

oomkilladj is int, but values which can be assigned to it are -17, [-16,
15], thus fitting into s8.

While patch itself doesn't help in making task_struct smaller, because of
natural alignment of ->link_count, it will make picture clearer wrt futher
task_struct reduction patches.  My plan is to move ->fpu_counter and
->oomkilladj after ->ioprio filling hole on i386 and x86_64.  But that's
for later, because bloated distro configs need looking at as well.

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>
include/linux/sched.h