public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
To: linux-ia64@vger.kernel.org
Subject: [patch 1/6] align kenrel rbs on 128 byte
Date: Tue, 31 Jan 2006 08:48:28 +0000	[thread overview]
Message-ID: <200601310848.k0V8mbg11087@unix-os.sc.intel.com> (raw)

The bottom of kernel rbs stack is the memory used to spill user
dirty stack register partition when entering the kernel.  This
space is heavily used on every kernel entry and exit. It deserve
having its own dedicated cache line and not to share with tail
end of thread_info which is not used heavily.

Align the bottom of kernel rbs stack to 128 byte boundary.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>


--- ./include/asm-ia64/ptrace.h.orig	2006-01-19 16:45:49.695591377 -0800
+++ ./include/asm-ia64/ptrace.h	2006-01-20 02:24:05.985205410 -0800
@@ -75,7 +75,7 @@
 # define KERNEL_STACK_SIZE_ORDER		0
 #endif
 
-#define IA64_RBS_OFFSET			((IA64_TASK_SIZE + IA64_THREAD_INFO_SIZE + 15) & ~15)
+#define IA64_RBS_OFFSET			((IA64_TASK_SIZE + IA64_THREAD_INFO_SIZE + 127) & ~127)
 #define IA64_STK_OFFSET			((1 << KERNEL_STACK_SIZE_ORDER)*PAGE_SIZE)
 
 #define KERNEL_STACK_SIZE		IA64_STK_OFFSET



             reply	other threads:[~2006-01-31  8:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-31  8:48 Chen, Kenneth W [this message]
2006-01-31  8:57 ` [patch 1/6] align kenrel rbs on 128 byte Keith Owens
2006-01-31  9:42 ` Chen, Kenneth W
2006-01-31 10:15 ` Andreas Schwab
2006-01-31 11:00 ` Jes Sorensen
2006-01-31 15:26 ` Russ Anderson
2006-01-31 16:25 ` Chen, Kenneth W
2006-01-31 19:58 ` Richard Harke
2006-01-31 19:59 ` Chen, Kenneth W
2006-01-31 20:16 ` Richard Harke

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=200601310848.k0V8mbg11087@unix-os.sc.intel.com \
    --to=kenneth.w.chen@intel.com \
    --cc=linux-ia64@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