Re: top stack (l)users for 2.5.69

From: Roland Dreier (roland@topspin.com)
Date: Wed May 07 2003 - 15:23:43 EST


    [ misinformation snipped ]

OK, my real last word on the subject.

When the kernel is running on behalf of a user process, there is more
context than just the struct task_struct part of current. There is a
kernel stack, which must be per process since each process can have
its own call chain of kernel functions.

By all means, see switch_to(). Look at what it does to ESP.

 - Roland
-
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 : Wed May 07 2003 - 22:00:33 EST