public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Benjamin LaHaise <bcrl@kvack.org>
To: Andi Kleen <ak@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 0/9] x86-64 put current in r10
Date: Tue, 29 Nov 2005 23:21:18 -0500	[thread overview]
Message-ID: <20051130042118.GA19112@kvack.org> (raw)

Hello Andi,

The following emails contain the patches to convert x86-64 to store current 
in r10 (also at http://www.kvack.org/~bcrl/patches/v2.6.15-rc3/).  This 
provides a significant amount of code savings (~43KB) over the current 
use of the per cpu data area.  I also tested using r15, but that generated 
code that was larger than that generated with r10.  This code seems to be 
working well for me now (it stands up to 32 and 64 bit processes and ptrace 
users) and would be a good candidate for further exposure.

		-ben

 arch/i386/oprofile/nmi_int.c         |    1 
 arch/x86_64/Makefile                 |    1 
 arch/x86_64/crypto/aes-x86_64-asm.S  |   27 +++++++++++----------
 arch/x86_64/ia32/ia32entry.S         |   17 +++++++++----
 arch/x86_64/kernel/asm-offsets.c     |    2 -
 arch/x86_64/kernel/entry.S           |   44 +++++++++++++++--------------------
 arch/x86_64/kernel/genapic_cluster.c |    1 
 arch/x86_64/kernel/genapic_flat.c    |    1 
 arch/x86_64/kernel/i387.c            |    2 -
 arch/x86_64/kernel/process.c         |    8 ++++--
 arch/x86_64/kernel/setup64.c         |   16 +++++++-----
 arch/x86_64/kernel/smpboot.c         |    6 +++-
 arch/x86_64/lib/copy_user.S          |   16 ++++++------
 arch/x86_64/lib/csum-copy.S          |   24 ++++++++++---------
 arch/x86_64/lib/getuser.S            |   12 +++------
 arch/x86_64/lib/putuser.S            |   12 +++------
 include/asm-x86_64/current.h         |    8 ------
 include/asm-x86_64/desc.h            |    1 
 include/asm-x86_64/i387.h            |    8 +++---
 include/asm-x86_64/processor.h       |   10 ++-----
 include/asm-x86_64/system.h          |    6 +---
 include/asm-x86_64/thread_info.h     |   31 +++++++++++-------------
 include/linux/seccomp.h              |   15 ++++-------
 include/linux/smp.h                  |   25 ++++++++++---------
 24 files changed, 145 insertions(+), 149 deletions(-)
-- 
"You know, I've seen some crystals do some pretty trippy shit, man."
Don't Email: <dont@kvack.org>.


             reply	other threads:[~2005-11-30  4:24 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-30  4:21 Benjamin LaHaise [this message]
2005-11-30  6:39 ` [PATCH 0/9] x86-64 put current in r10 Jari Ruusu
2005-11-30  7:56   ` Arjan van de Ven
2005-11-30  8:20     ` Nick Piggin
2005-11-30 17:29       ` Jari Ruusu
2005-11-30 17:32         ` Andi Kleen
2005-11-30 17:33         ` Christoph Hellwig
2005-11-30 12:45   ` Andi Kleen
2005-11-30 16:22   ` Randy.Dunlap
2005-11-30 16:39     ` Kyle Moffett
2005-12-01  9:06     ` Helge Hafting
2005-11-30 13:02 ` Andi Kleen
2005-11-30 13:32   ` Arjan van de Ven
2005-11-30 15:10     ` Benjamin LaHaise
2005-11-30 13:57 ` Andi Kleen
2005-11-30 15:18 ` Matti Aarnio
2005-11-30 15:24   ` Benjamin LaHaise
2005-11-30 15:29   ` Andi Kleen
2005-11-30 15:34   ` Arjan van de Ven
2005-11-30 16:13   ` Jesper Juhl
2005-12-01 14:30 ` Steven Rostedt

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=20051130042118.GA19112@kvack.org \
    --to=bcrl@kvack.org \
    --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