public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* -rt x86_64 fix for latency tracing
@ 2006-06-02 19:37 Clark Williams
  2006-06-02 19:47 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Clark Williams @ 2006-06-02 19:37 UTC (permalink / raw)
  To: Ingo Molnar, Steven Rostedt; +Cc: LKML

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ingo/Steve,

The included patch fixes a bug that causes a segfault in the init
thread when latency tracing is enabled on x86_64 kernels. Not sure if
it's completely correct, but it gets me past my segfault and lets me
complete booting.

diff --git a/arch/x86_64/kernel/entry.S b/arch/x86_64/kernel/entry.S
index 066497a..b124409 100644
- --- a/arch/x86_64/kernel/entry.S
+++ b/arch/x86_64/kernel/entry.S
@@ -1089,7 +1089,7 @@ ENTRY(mcount)
 
        mov 0x0(%rbp),%rax
        mov 0x8(%rbp),%rdi
- -       mov 0x8(%rax),%rsi
+       mov 0x10(%rax),%rsi
 
        call   __trace

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEgJOOHyuj/+TTEp0RAhkEAKDWQu4cvGBvCQi1UyQcDalbR6SPZACglMRH
rVy1tTWHbatDx37pXHAXs1s=
=5Qi9
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: -rt x86_64 fix for latency tracing
  2006-06-02 19:37 -rt x86_64 fix for latency tracing Clark Williams
@ 2006-06-02 19:47 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2006-06-02 19:47 UTC (permalink / raw)
  To: Clark Williams; +Cc: Steven Rostedt, LKML


good catch!

	Ingo

* Clark Williams <williams@redhat.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Ingo/Steve,
> 
> The included patch fixes a bug that causes a segfault in the init
> thread when latency tracing is enabled on x86_64 kernels. Not sure if
> it's completely correct, but it gets me past my segfault and lets me
> complete booting.
> 
> diff --git a/arch/x86_64/kernel/entry.S b/arch/x86_64/kernel/entry.S
> index 066497a..b124409 100644
> - --- a/arch/x86_64/kernel/entry.S
> +++ b/arch/x86_64/kernel/entry.S
> @@ -1089,7 +1089,7 @@ ENTRY(mcount)
>  
>         mov 0x0(%rbp),%rax
>         mov 0x8(%rbp),%rdi
> - -       mov 0x8(%rax),%rsi
> +       mov 0x10(%rax),%rsi
>  
>         call   __trace
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> 
> iD8DBQFEgJOOHyuj/+TTEp0RAhkEAKDWQu4cvGBvCQi1UyQcDalbR6SPZACglMRH
> rVy1tTWHbatDx37pXHAXs1s=
> =5Qi9
> -----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-02 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-02 19:37 -rt x86_64 fix for latency tracing Clark Williams
2006-06-02 19:47 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox