From: Thomas Gleixner <tglx@linutronix.de>
To: Roland McGrath <roland@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/5] x86: TLS cleanup
Date: Wed, 21 Nov 2007 12:58:38 +0100 (CET) [thread overview]
Message-ID: <alpine.LFD.0.9999.0711211253470.25057@localhost.localdomain> (raw)
In-Reply-To: <20071121102511.08B8A26F8BE@magilla.localdomain>
On Wed, 21 Nov 2007, Roland McGrath wrote:
>
> This consolidates the four different places that implemented the same
> encoding magic for the GDT-slot 32-bit TLS support. The old tls32.c is
> renamed and only slightly modified to be the shared implementation guts.
Cool patchset.
One minor nit: Please do not put stuff into proto.h anymore. I'm
desperately trying to get rid of it.
> diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h
> index dabba55..a7aa17d 100644
> --- a/include/asm-x86/proto.h
> +++ b/include/asm-x86/proto.h
> @@ -24,6 +24,11 @@ extern void ia32_syscall(void);
> extern void ia32_cstar_target(void);
> extern void ia32_sysenter_target(void);
>
> +extern int do_get_thread_area(struct task_struct *p, int idx,
> + struct user_desc __user *info);
> +extern int do_set_thread_area(struct task_struct *p, int idx,
> + struct user_desc __user *info, int can_allocate);
> +
> extern void config_acpi_tables(void);
> extern void ia32_syscall(void);
I pull it into the x86 git tree and look for a better place for
do_[sg]et_thread_area()
Thanks,
tglx
next prev parent reply other threads:[~2007-11-21 11:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-21 10:19 [PATCH 1/5] x86: get_desc_base Roland McGrath
2007-11-21 10:20 ` [PATCH 2/5] x86: use get_desc_base Roland McGrath
2007-11-21 18:30 ` Zachary Amsden
2007-11-21 10:21 ` [PATCH 3/5] x86: ptrace fs/gs_base Roland McGrath
2007-11-21 10:23 ` [PATCH 4/5] x86: desc_empty Roland McGrath
2007-11-21 10:25 ` [PATCH 5/5] x86: TLS cleanup Roland McGrath
2007-11-21 11:58 ` Thomas Gleixner [this message]
2007-11-21 18:34 ` Zachary Amsden
2007-11-21 22:37 ` Roland McGrath
2007-11-21 22:38 ` [replacement PATCH 5/6] x86: tls32 moved Roland McGrath
2007-11-21 22:39 ` [replacement PATCH 6/6] x86: TLS cleanup Roland McGrath
2007-11-22 9:10 ` Thomas Gleixner
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=alpine.LFD.0.9999.0711211253470.25057@localhost.localdomain \
--to=tglx@linutronix.de \
--cc=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=roland@redhat.com \
/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
all inboxes | Powered by JetHome®