|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-4.0-testing] x86: fix off-by-one error in the cache
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273481185 -3600
# Node ID dcff1f6352bbebe38da8cc3c8f82872f04d6a0a0
# Parent fa3117958940f701d11e9a9775974b8e3e09762e
x86: fix off-by-one error in the cache flush portion of flush_area_local().
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
xen-unstable changeset: 21270:bd52f2e040e5
xen-unstable date: Tue May 04 12:39:29 2010 +0100
---
xen/arch/x86/flushtlb.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r fa3117958940 -r dcff1f6352bb xen/arch/x86/flushtlb.c
--- a/xen/arch/x86/flushtlb.c Mon May 10 09:45:58 2010 +0100
+++ b/xen/arch/x86/flushtlb.c Mon May 10 09:46:25 2010 +0100
@@ -149,7 +149,7 @@ void flush_area_local(const void *va, un
{
unsigned long i, sz = 0;
- if ( order < (BITS_PER_LONG - PAGE_SHIFT - 1) )
+ if ( order < (BITS_PER_LONG - PAGE_SHIFT) )
sz = 1UL << (order + PAGE_SHIFT);
if ( c->x86_clflush_size && c->x86_cache_size && sz &&
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-4.0-testing] x86: fix off-by-one error in the cache flush portion of flush_area_local().,
Xen patchbot-4.0-testing <=
|
|
|
|
|