Re: [PATCH] move task_struct allocation to arch

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Fri Feb 15 2002 - 05:01:50 EST


Jeff Garzik wrote:
> Your patch would be ok IMHO if you additionally changed the arches to
> include task struct inside struct thread_info, getting things back down
> to a single allocation for thread_info+task_struct, with 'current' once
> again being a constant offset from the beginning of thread_info. [this
> might require resurrecting the old patches to move task struct
> definitions out of sched.h proper]

Actually, you don't really need the definition of task_struct, if
include dependencies get really hairy... you really only need the size
of the task struct.

        Jeff

-- 
Jeff Garzik      | "I went through my candy like hot oatmeal
Building 1024    |  through an internally-buttered weasel."
MandrakeSoft     |             - goats.com
-
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 : Fri Feb 15 2002 - 21:01:06 EST