All of lore.kernel.org
 help / color / mirror / Atom feed
* 4.0-testing c/s 21405 incomplete?
@ 2011-02-02 10:04 Jan Beulich
  2011-02-06 17:08 ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2011-02-02 10:04 UTC (permalink / raw)
  To: George Dunlap, Keir Fraser; +Cc: xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 4.0-testing c/s 21405 incomplete?
  2011-02-02 10:04 4.0-testing c/s 21405 incomplete? Jan Beulich
@ 2011-02-06 17:08 ` Keir Fraser
  2011-02-07  7:45   ` Jan Beulich
  0 siblings, 1 reply; 4+ messages in thread
From: Keir Fraser @ 2011-02-06 17:08 UTC (permalink / raw)
  To: Jan Beulich, George Dunlap; +Cc: xen-devel@lists.xensource.com

On 02/02/2011 10:04, "Jan Beulich" <JBeulich@novell.com> wrote:

> 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

> Jan
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 4.0-testing c/s 21405 incomplete?
  2011-02-06 17:08 ` Keir Fraser
@ 2011-02-07  7:45   ` Jan Beulich
  2011-02-07 14:34     ` George Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2011-02-07  7:45 UTC (permalink / raw)
  To: George Dunlap, Keir Fraser; +Cc: xen-devel@lists.xensource.com

>>> On 06.02.11 at 18:08, Keir Fraser <keir@xen.org> wrote:
> On 02/02/2011 10:04, "Jan Beulich" <JBeulich@novell.com> wrote:
> 
>> 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 

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 4.0-testing c/s 21405 incomplete?
  2011-02-07  7:45   ` Jan Beulich
@ 2011-02-07 14:34     ` George Dunlap
  0 siblings, 0 replies; 4+ messages in thread
From: George Dunlap @ 2011-02-07 14:34 UTC (permalink / raw)
  To: Jan Beulich; +Cc: George Dunlap, xen-devel@lists.xensource.com, Keir Fraser

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

On Mon, 2011-02-07 at 07:45 +0000, Jan Beulich wrote:
> > 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


[-- Attachment #2: xen-4.0-remove-ept-get-lock.diff --]
[-- Type: text/x-patch, Size: 553 bytes --]

diff -r f7f6fa8665e7 xen/arch/x86/mm/hap/p2m-ept.c
--- a/xen/arch/x86/mm/hap/p2m-ept.c	Thu Feb 03 11:56:05 2011 +0000
+++ b/xen/arch/x86/mm/hap/p2m-ept.c	Mon Feb 07 14:34:20 2011 +0000
@@ -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;
 }

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-07 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-02 10:04 4.0-testing c/s 21405 incomplete? Jan Beulich
2011-02-06 17:08 ` Keir Fraser
2011-02-07  7:45   ` Jan Beulich
2011-02-07 14:34     ` George Dunlap

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.