From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Date: Thu, 28 Jul 2005 08:35:44 +0000 Subject: Re: Add prefetch switch stack hook in scheduler function Message-Id: <20050728083544.GA22740@elte.hu> List-Id: References: <10613.1122538148@kao2.melbourne.sgi.com> <42E897FD.6060506@yahoo.com.au> In-Reply-To: <42E897FD.6060506@yahoo.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Nick Piggin Cc: Keith Owens , David.Mosberger@acm.org, Andrew Morton , "Chen, Kenneth W" , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org * Nick Piggin 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