Messages in this thread |  | | Subject | Re: top stack (l)users for 2.5.69 | From | Roland Dreier <> | Date | 07 May 2003 13:23:43 -0700 |
| |
[ 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/
|  |