commit | 0a4666b539a0e896ec4e8396a034a479e3573125 | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | Thu Feb 12 13:03:24 2009 -0800 |
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | Mon Mar 30 09:26:49 2009 -0700 |
tree | bfe63e7b6d3da3d8415c53919059bda72d4cf86a | |
parent | c5cfef0f79cacc3aa438fc28f4747f0d10c54d0d [diff] |
xen/dev-evtchn: clean up locking in evtchn Define a new per_user_data mutex to serialize bind/unbind operations to prevent them from racing with each other. Fix error returns and don't do a bind while holding a spinlock. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>