Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sched: reorder struct sched_rt_entity to remove padding on 64 bit builds

remove 8 bytes of padding on 64 bit builds
(also removes 8 bytes from task_struct)

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by

Richard Kennedy and committed by
Ingo Molnar
bee367ed 07dd20e0

+1 -1
+1 -1
include/linux/sched.h
··· 1010 1010 1011 1011 struct sched_rt_entity { 1012 1012 struct list_head run_list; 1013 - unsigned int time_slice; 1014 1013 unsigned long timeout; 1014 + unsigned int time_slice; 1015 1015 int nr_cpus_allowed; 1016 1016 1017 1017 struct sched_rt_entity *back;