[PATCH] sleep_time task_struct removal ...

From: Davide Libenzi (davidel@xmailserver.org)
Date: Tue Jan 01 2002 - 17:18:24 EST


Linus, this field is unused and waste cache line space.

- Davide

--- sched.h Tue Jan 1 14:13:25 2002
+++ sched.new.h Tue Jan 1 14:14:28 2002
@@ -322,7 +322,6 @@
          */
         struct list_head run_list;
         long time_slice;
- unsigned long sleep_time;
         /* recalculation loop checkpoint */
         unsigned long rcl_last;

@@ -885,7 +884,6 @@
 static inline void del_from_runqueue(struct task_struct * p)
 {
         nr_running--;
- p->sleep_time = jiffies;
         list_del(&p->run_list);
         p->run_list.next = NULL;
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:15 EST