All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: xen-devel@lists.xensource.com, tim.deegan@eu.citrix.com,
	gianluca.guida@eu.citrix.com
Subject: Re: [PATCH] shadow: track video RAM dirty bits
Date: Sun, 4 May 2008 11:58:40 +0100	[thread overview]
Message-ID: <20080504105840.GD4729@implementation> (raw)
In-Reply-To: <20080502140509.GF4819@implementation.uk.xensource.com>

shadow: Fix dirty vram tracking typo.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>

diff -r b936b8ee02bb xen/arch/x86/mm/shadow/multi.c
--- a/xen/arch/x86/mm/shadow/multi.c	Fri May 02 17:06:53 2008 +0100
+++ b/xen/arch/x86/mm/shadow/multi.c	Sun May 04 11:58:33 2008 +0100
@@ -1321,7 +1321,7 @@ static inline void shadow_vram_put_l1e(s
             }
         }
         if ( dirty )
-            d->dirty_vram->dirty_bitmap[i / 8] |= d->dirty_vram->dirty_bitmap[i % 8];
+            d->dirty_vram->dirty_bitmap[i / 8] |= 1 << (i % 8);
     }
 }

  reply	other threads:[~2008-05-04 10:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-02 14:05 [PATCH] shadow: track video RAM dirty bits Samuel Thibault
2008-05-04 10:58 ` Samuel Thibault [this message]
2008-05-08 11:58 ` [PATCH] shadow: drop guest VRAM write access after some idleness Samuel Thibault

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=20080504105840.GD4729@implementation \
    --to=samuel.thibault@eu.citrix.com \
    --cc=gianluca.guida@eu.citrix.com \
    --cc=tim.deegan@eu.citrix.com \
    --cc=xen-devel@lists.xensource.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 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.