login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
27
Re: [RESEND][PATCH] x86: don't destroy %rbp on kernel-mode faults
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Ingo Molnar <mingo@...>
To: Vegard Nossum <vegard.nossum@...>
Cc: Thomas Gleixner <tglx@...>, Arjan van de Ven <arjan@...>, Andi Kleen <andi@...>, Pekka Enberg <penberg@...>, <x86@...>, <linux-kernel@...>
Subject:
Re: [RESEND][PATCH] x86: don't destroy %rbp on kernel-mode faults
Date: Friday, June 27, 2008 - 11:46 am
* Vegard Nossum <vegard.nossum@gmail.com> wrote:
quoted text
> >From the code: > > "B stepping K8s sometimes report an truncated RIP for IRET exceptions > returning to compat mode. Check for these here too." > > The code then proceeds to truncate the upper 32 bits of %rbp. This means > that when do_page_fault() is finally called, its prologue, > > do_page_fault: > push %rbp > movl %rsp, %rbp > > will put the truncated base pointer on the stack. This means that the > stack tracer will not be able to follow the base-pointer changes and > will see all subsequent stack frames as unreliable. > > This patch changes the code to use a different register (%rcx) for the > checking and leaves %rbp untouched.
applied to tip/x86/debug - thanks Vegard! Ingo --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[RESEND][PATCH] x86: don't destroy %rbp on kernel-mode faults
, Vegard Nossum
, (Fri Jun 27, 11:22 am)
Re: [RESEND][PATCH] x86: don't destroy %rbp on kernel-mode f...
, Andi Kleen
, (Fri Jun 27, 12:12 pm)
Re: [RESEND][PATCH] x86: don't destroy %rbp on kernel-mode f...
, Ingo Molnar
, (Fri Jun 27, 11:46 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Linus Torvalds
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Paul Jackson
Re: [patch 2/2] cpusets: add interleave_over_allowed option
Linus Torvalds
Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes g...
git
:
linux-netdev
:
Mark Lord
Re: 2.6.25-rc8: FTP transfer errors
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
815 guests
online.
Online users
strcmp
Syndicate