Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
xen.7653
5582bf81-evtchn-remove-the-locking-when-unmaski...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 5582bf81-evtchn-remove-the-locking-when-unmasking-an-event-channel.patch of Package xen.7653
# Commit e156654d4eb2fdeb524e6b40838767a5dc918966 # Date 2015-06-18 14:54:25 +0200 # Author David Vrabel <david.vrabel@citrix.com> # Committer Jan Beulich <jbeulich@suse.com> evtchn: remove the locking when unmasking an event channel The event channel lock is no longer required to check if the port is valid. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Index: xen-4.5.3-testing/xen/common/event_channel.c =================================================================== --- xen-4.5.3-testing.orig/xen/common/event_channel.c +++ xen-4.5.3-testing/xen/common/event_channel.c @@ -932,8 +932,6 @@ int evtchn_unmask(unsigned int port) struct domain *d = current->domain; struct evtchn *evtchn; - ASSERT(spin_is_locked(&d->event_lock)); - if ( unlikely(!port_is_valid(d, port)) ) return -EINVAL; @@ -1100,9 +1098,7 @@ long do_event_channel_op(int cmd, XEN_GU struct evtchn_unmask unmask; if ( copy_from_guest(&unmask, arg, 1) != 0 ) return -EFAULT; - spin_lock(¤t->domain->event_lock); rc = evtchn_unmask(unmask.port); - spin_unlock(¤t->domain->event_lock); break; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor