Messages in this thread | | | Date | 16 Sep 2004 11:11:28 +0200 | Date | Thu, 16 Sep 2004 11:11:28 +0200 | From | Andi Kleen <> | Subject | Re: get_current is __pure__, maybe __const__ even |
| |
> IOW, think from a tasks point of view. It gets into the scheduler, > and switch_to() is just a normal function which just happens to sleep > for some time.
On x86/x86-64 the stack switch is inlined into schedule()
-Andi - 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/
| |