[lkml]   [2005]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Add prefetch switch stack hook in scheduler function
Keith Owens wrote:
> On Thu, 28 Jul 2005 09:41:18 +0200,
> Ingo Molnar <> wrote:

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

SUSE Labs, Novell Inc.

Send instant messages to your online friends

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

 \ /
  Last update: 2005-07-28 10:38    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean