]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xen/evtchn: improve scalability by using per-user locks
authorDavid Vrabel <david.vrabel@citrix.com>
Fri, 19 Jul 2013 14:52:00 +0000 (15:52 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 9 Aug 2013 15:06:49 +0000 (11:06 -0400)
commit73cc4bb0c79eebe1f0e92b700d9fe8d1c9b061bb
treeca6e323a988c1ef325edea401744d907ad563d21
parent65a45fa2f640f72757ef00f2bc83f9654d65a62b
xen/evtchn: improve scalability by using per-user locks

The global array of port users and the port_user_lock limits
scalability of the evtchn device.  Instead of the global array lookup,
use a per-use (per-fd) tree of event channels bound by that user and
protect the tree with a per-user lock.

This is also a prerequiste for extended the number of supported event
channels, by removing the fixed size, per-event channel array.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/evtchn.c