Re: [patch] tasks.h

From: Arnd Bergmann (arnd@bergmann-dalldorf.de)
Date: Sat Oct 12 2002 - 10:03:11 EST


On Saturday 12 October 2002 08:59, Tim Schmielau wrote:

> More work will be neccessary to completely disentangle both files, so that
> sched.h doesn't need to include tasks.h. Biggest obstacle is get_task_mm()
> which needs both task_struct and mm_struct. Maybe I'll break out something
> like a <linux/task_mm.h> later.

AFAICS, get_task_mm() is never used in a fast path, only in
ptrace and procfs code where a few cpu cycles don't hurt anyone.
Any reason why you can't just make it an extern function?

        Arnd <><
-
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 : Tue Oct 15 2002 - 22:00:43 EST