Re: Add prefetch switch stack hook in scheduler function

From: Ingo Molnar
Date: Thu Jul 28 2005 - 02:44:25 EST

* david mosberger <dmosberger@xxxxxxxxx> wrote:

> Also, should this be called prefetch_stack() or perhaps even just
> prefetch_task()? Not every architecture defines a switch_stack
> structure.

yeah. I'd too suggest to call it prefetch_stack(), and not make it a
macro & hook but something defined on all arches, with for now only ia64
having any real code in the inline function.

i'm wondering, is the switch_stack at the same/similar place as
next->thread_info? If yes then we could simply do a

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at