Skip to content

Commit

Permalink
sched: reorder struct sched_rt_entity to remove padding on 64 bit builds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Kennedy authored and Ingo Molnar committed Aug 15, 2008
1 parent 07dd20e commit bee367e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -1010,8 +1010,8 @@ struct sched_entity {

struct sched_rt_entity {
struct list_head run_list;
unsigned int time_slice;
unsigned long timeout;
unsigned int time_slice;
int nr_cpus_allowed;

struct sched_rt_entity *back;
Expand Down

0 comments on commit bee367e

Please sign in to comment.