public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Andi Kleen <ak@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cache colour task_structs
Date: Thu, 01 Nov 2001 15:42:12 +1100	[thread overview]
Message-ID: <28006.1004589732@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "01 Nov 2001 02:43:20 BST." <p73668vqn9j.fsf@amdsim2.suse.de>

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.


  parent reply	other threads:[~2001-11-01  4:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3BE050AD.C6D7CE4B@colorfullife.com.suse.lists.linux.kernel>
     [not found] ` <E15z6HM-0005gW-00@the-village.bc.nu.suse.lists.linux.kernel>
2001-11-01  1:43   ` [PATCH] cache colour task_structs Andi Kleen
2001-11-01  2:18     ` Davide Libenzi
2001-11-01  4:42     ` Keith Owens [this message]
2001-10-31 19:27 Manfred Spraul
2001-11-01  1:04 ` Alan Cox
2001-11-01 10:49   ` Manfred Spraul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28006.1004589732@kao2.melbourne.sgi.com \
    --to=kaos@ocs.com.au \
    --cc=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox