Re: Add prefetch switch stack hook in scheduler function

From: Ingo Molnar
Date: Thu Jul 28 2005 - 03:41:03 EST



* Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:

> >No, they can be up to 30K apart. See include/asm-ia64/ptrace.h.
> >thread_info is at ~0xda0, depending on the config. The switch_stack
> >can be as high as 0x7bd0 in the kernel stack, depending on why the task
> >is sleeping.
> >
>
> Just a minor point, I agree with David: I'd like it to be called
> prefetch_task(), because some architecture may want to prefetch other
> memory.

such as?

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/