lkml.org 
[lkml]   [2001]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] cache colour task_structs
Date
On 01 Nov 2001 02:43:20 +0100, 
Andi Kleen <ak@suse.de> wrote:
>You could do that even today (without slab task_struct) by using a
>random/coloured at fork time value for esp0. This could just be a static
>colour counter that is subtracted.
>
>Just don't forget to teach ptrace and proc WCHAN and oops printing about it;
>they currently use hardcoded stack offsets. It'll also likely break kdb.

Should not affect kdb. It uses current->esp0 for accessing user regs.
Back trace unwinds the stack until it hits a 0 return address, it just
not check for esp0.

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:12    [W:0.038 / U:2.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site