|   xen-devel
RE: [Xen-devel] [PATCH] Yield to VCPU hcall, spinlock yielding 
| To: | "Orran Y Krieger" <okrieg@xxxxxxxxxx> |  
| Subject: | RE: [Xen-devel] [PATCH] Yield to VCPU hcall, spinlock yielding |  
| From: | "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx> |  
| Date: | Tue, 7 Jun 2005 11:38:14 +0100 |  
| Cc: | xen-devel@xxxxxxxxxxxxxxxxxxx, Bryan S Rosenburg <rosnbrg@xxxxxxxxxx>,	hohnbaum@xxxxxxxxxx, ryanh@xxxxxxxxxx,	xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |  
| Delivery-date: | Tue, 07 Jun 2005 10:37:23 +0000 |  
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |  
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |  
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |  
| List-post: | <mailto:xen-devel@lists.xensource.com> |  
| List-subscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |  
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |  
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |  
| Thread-index: | AcVqmb1+dqanAoPjR32Ghb2KQZOsdgAsp1Tg |  
| Thread-topic: | [Xen-devel] [PATCH] Yield to VCPU hcall, spinlock yielding |  
|  
> You can only use spinlock accounting for dealing with locking 
> issues in kernel (unless you are willing to change 
> application level programs and libs).  If preemption 
> notification overhead is not prohibitive, the fact that it 
> solves the application problem as well as the kernel problem 
> seems like a compelling advantage over spinlock accounting, 
> doesn't it? 
Orran, 
Are you assuming the pre-emption notification is going to get propagated
to user-space as a signal, and that user space applications would be
modified to take advantage of the signal? (possibly this could be hidden
in the pthread library?} Since the kernel doesn't know when user space
has an application lock or not, that's going to be a lot of signals. 
Cheers,
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
Re: [Xen-devel] [PATCH] Yield to VCPU hcall, spinlock yielding, Ryan Harper
RE: [Xen-devel] [PATCH] Yield to VCPU hcall, spinlock yielding, Ian Pratt
RE: [Xen-devel] [PATCH] Yield to VCPU hcall, spinlock yielding, Ian Pratt
RE: [Xen-devel] [PATCH] Yield to VCPU hcall, spinlock yielding, Ian Pratt
RE: [Xen-devel] [PATCH] Yield to VCPU hcall, spinlock yielding,
Ian Pratt <=
RE: [Xen-devel] [PATCH] Yield to VCPU hcall, spinlock yielding, Ian Pratt
RE: [Xen-devel] [PATCH] Yield to VCPU hcall, spinlock yielding, Ian Pratt
 |  |  |