Skip to contentSkip to conversation

4.0-testing c/s 21405 incomplete?

DISCUSSION Jan Beulich 3 participants 4 messages Feb 2, 2011 – Feb 7, 2011

lore
Share & tools
lore
#0 lore raw

Keir, George,

it in particular doesn't do what its title says: "Remove lock in ept_get_entry, ..." - the last two hunks are simply missing compared to -unstable c/s 22526 (I have no cluse how that happened).

Jan

#1 lore raw
Quoted 5 lines · Jan Beulich

Keir, George,

it in particular doesn't do what its title says: "Remove lock in ept_get_entry, ..." - the last two hunks are simply missing compared to -unstable c/s 22526 (I have no cluse how that happened).

The xen-unstable and xen-4.0-testing patches are merely plucked by me from postings by George from the following xen-devel thread:

http://lists.xensource.com/archives/html/xen-devel/2010-12/msg00830.html

He owns this stuff.

-- Keir

Quoted 2 lines

Jan

#2 lore raw
Quoted 5 lines
Quoted 1 line
Quoted 1 line · Keir Fraser
Quoted 2 lines · Jan Beulich

Keir, George,

Quoted 8 lines
Quoted 3 lines

it in particular doesn't do what its title says: "Remove lock in ept_get_entry, ..." - the last two hunks are simply missing compared to -unstable c/s 22526 (I have no cluse how that happened).

The xen-unstable and xen-4.0-testing patches are merely plucked by me from postings by George from the following xen-devel thread:

http://lists.xensource.com/archives/html/xen-devel/2010-12/msg00830.html

Ah, okay - I think the patch there wasn't against 4.0-testing, but against plain 4.0.x, so it's missing the revert of 4.0-testing c/s 21334.

Jan

#3 lore raw
Quoted 8 lines · Jan Beulich
Quoted 4 lines

The xen-unstable and xen-4.0-testing patches are merely plucked by me from postings by George from the following xen-devel thread:

http://lists.xensource.com/archives/html/xen-devel/2010-12/msg00830.html

Ah, okay - I think the patch there wasn't against 4.0-testing, but against plain 4.0.x, so it's missing the revert of 4.0-testing c/s 21334.

Right -- I'm not exactly sure why that bit was left off my 4.0 patch, but it certainly shouldn't have been.

Keir, can you please apply the attached patch to 4.0-testing.

-George

xen/arch/x86/mm/hap/p2m-ept.c +0 -6
diff -r f7f6fa8665e7 xen/arch/x86/mm/hap/p2m-ept.c
@@ -395,10 +395,6 @@
     int i;
     int ret = 0;
     mfn_t mfn = _mfn(INVALID_MFN);
-    int do_locking = !p2m_locked_by_me(d->arch.p2m);
-
-    if ( do_locking )
-        p2m_lock(d->arch.p2m);
 
     *t = p2m_mmio_dm;
 
@@ -476,8 +472,6 @@
     }
 
 out:
-    if ( do_locking )
-        p2m_unlock(d->arch.p2m);
     unmap_domain_page(table);
     return mfn;
 }

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel