linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test11-wli-1
Date: Mon, 8 Dec 2003 06:03:46 -0800	[thread overview]
Message-ID: <20031208140346.GH8039@holomorphy.com> (raw)
In-Reply-To: <20031208135737.GG8039@holomorphy.com>

On Thu, Dec 04, 2003 at 12:01:20PM -0800, William Lee Irwin III wrote:
>> Successfully tested on a Thinkpad T21. Any feedback regarding
>> performance would be very helpful. Desktop users should notice top(1)
>> is faster, kernel hackers that kernel compiles are faster, and highmem
>> users should see much less per-process lowmem overhead.

On Mon, Dec 08, 2003 at 05:57:37AM -0800, William Lee Irwin III wrote:
> Woops, I missed the target by a few bytes. Probably a bit overwrought:

These THREAD_SIZE bits are cropping up all over.


-- wli

--- wli-2.6.0-test11-37/arch/i386/kernel/traps.c	2003-11-26 12:43:09.000000000 -0800
+++ wli-2.6.0-test11-38/arch/i386/kernel/traps.c	2003-12-08 04:58:08.000000000 -0800
@@ -119,7 +119,7 @@ void show_trace_task(struct task_struct 
 	unsigned long esp = tsk->thread.esp;
 
 	/* User space on another CPU? */
-	if ((esp ^ (unsigned long)tsk->thread_info) & (PAGE_MASK<<1))
+	if ((esp ^ (unsigned long)tsk->thread_info) & ~(THREAD_SIZE - 1))
 		return;
 	show_trace(tsk, (unsigned long *)esp);
 }

  reply	other threads:[~2003-12-08 14:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-04 20:01 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-04 21:01 ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-04 22:58 ` 2.6.0-test11-wli-1 Muli Ben-Yehuda
2003-12-04 23:21   ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-05  8:14 ` 2.6.0-test11-wli-1 Hugang
2003-12-05  9:10   ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-08 13:57 ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-08 14:03   ` William Lee Irwin III [this message]
2003-12-09 23:35 ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-09 23:59   ` 2.6.0-test11-wli-1 Zwane Mwaikambo
2003-12-11  1:42     ` 2.6.0-test11-wli-1 bill davidsen
2003-12-11  2:10       ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-11  2:30         ` 2.6.0-test11-wli-1 Mike Fedyk

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=20031208140346.GH8039@holomorphy.com \
    --to=wli@holomorphy.com \
    --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;
as well as URLs for NNTP newsgroup(s).