[PATCH] sleep_time task_struct removal ...

Davide Libenzi (davidel@xmailserver.org)
Tue, 1 Jan 2002 14:18:24 -0800 (PST)


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/