From: David Vrabel Date: Fri, 19 Jul 2013 14:52:00 +0000 (+0100) Subject: xen/evtchn: improve scalability by using per-user locks X-Git-Tag: v3.12-rc1~144^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73cc4bb0c79eebe1f0e92b700d9fe8d1c9b061bb;p=pandora-kernel.git 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 Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed