login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
March
»
11
Re: [kvm-devel] [PATCH] KVM: MMU: Fix host memory corruption on i386 with >= 4GB ram
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Ingo Molnar <mingo@...>
To: Avi Kivity <avi@...>
Cc: <kvm-devel@...>, <linux-kernel@...>
Subject:
Re: [kvm-devel] [PATCH] KVM: MMU: Fix host memory corruption on i386 with >= 4GB ram
Date: Sunday, March 11, 2007 - 6:33 am
* Avi Kivity <avi@qumranet.com> wrote:
quoted text
> PAGE_MASK is an unsigned long, so using it to mask physical addresses > on i386 (which are 64-bit wide) leads to truncation. This can result > in page->private of unrelated memory pages being modified, with > disasterous results. > > Fix by not using PAGE_MASK for physical addresses; instead calculate > the correct value directly from PAGE_SIZE. Also fix a similar > BUG_ON(). > > Signed-off-by: Avi Kivity <avi@qumranet.com>
i have tested this, albeit with less than 4GB RAM. Acked-by: Ingo Molnar <mingo@elte.hu> 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:
[PATCH 0/2] KVM: More fixes for 2.6.21-rc3
, Avi Kivity
, (Sun Mar 11, 6:07 am)
[PATCH] KVM: MMU: Fix guest writes to nonpae pde
, Avi Kivity
, (Sun Mar 11, 6:07 am)
Re: [kvm-devel] [PATCH] KVM: MMU: Fix guest writes to nonpae...
, Ingo Molnar
, (Sun Mar 11, 6:32 am)
[PATCH] KVM: MMU: Fix host memory corruption on i386 with &g...
, Avi Kivity
, (Sun Mar 11, 6:07 am)
Re: [kvm-devel] [PATCH] KVM: MMU: Fix host memory corruption...
, Ingo Molnar
, (Sun Mar 11, 6:33 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Kamalesh Babulal
[BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
git
:
linux-netdev
:
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Steven Rostedt
Re: -rt scheduling: wakeup bug?
David Miller
Re: [GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
8 users
and
1037 guests
online.
Online users
zeekec
trusten
rockytherobott
trabajornet
aluminiumwindo
teethwhitening
shoppingonline
alabamajailsvna
Syndicate