Procházet zdrojové kódy

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>
Richard Kennedy před 17 roky
rodič
revize
bee367ed06
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      include/linux/sched.h

+ 1 - 1
include/linux/sched.h

@@ -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;