* [PATCH 1/2] making update_dirty_bit get called without disabling preempt
@ 2007-10-15 21:23 Izik Eidus
0 siblings, 0 replies; only message in thread
From: Izik Eidus @ 2007-10-15 21:23 UTC (permalink / raw)
To: kvm-devel
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 0003-making-update_dirty_bit-get-called-without-disabling.patch --]
[-- Type: text/x-patch, Size: 1295 bytes --]
>From d11f64d00e5fd5fdcd6c82bf819653f392e5ad2b Mon Sep 17 00:00:00 2001
From: Izik Eidus <izike-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Date: Mon, 15 Oct 2007 19:24:52 +0200
Subject: [PATCH] making update_dirty_bit get called without disabling preempt
Signed-off-by: Izik Eidus <izike-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
---
drivers/kvm/paging_tmpl.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/kvm/paging_tmpl.h b/drivers/kvm/paging_tmpl.h
index 600b1cc..bd850c4 100644
--- a/drivers/kvm/paging_tmpl.h
+++ b/drivers/kvm/paging_tmpl.h
@@ -156,6 +156,8 @@ static int FNAME(walk_addr)(struct guest_walker *walker,
if (walker->level == PT_PAGE_TABLE_LEVEL) {
walker->gfn = (*ptep & PT_BASE_ADDR_MASK)
>> PAGE_SHIFT;
+ kunmap_atomic(walker->table, KM_USER0);
+ walker->table = NULL;
FNAME(update_dirty_bit)(vcpu, write_fault, ptep,
table_gfn);
break;
@@ -167,6 +169,8 @@ static int FNAME(walk_addr)(struct guest_walker *walker,
walker->gfn = (*ptep & PT_DIR_BASE_ADDR_MASK)
>> PAGE_SHIFT;
walker->gfn += PT_INDEX(addr, PT_PAGE_TABLE_LEVEL);
+ kunmap_atomic(walker->table, KM_USER0);
+ walker->table = NULL;
FNAME(update_dirty_bit)(vcpu, write_fault, ptep,
table_gfn);
break;
--
1.5.2.4
[-- Attachment #3: Type: text/plain, Size: 314 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
[-- Attachment #4: Type: text/plain, Size: 186 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-15 21:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-15 21:23 [PATCH 1/2] making update_dirty_bit get called without disabling preempt Izik Eidus
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.