[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v5 0/2] gnttab: Improve scaleability
This patch series changes the grant table locking to a more fain grained locking protocol. The result is a performance boost measured with blkfront/blkback. Document the locking protocol. v5: * Addressed locking issue pointed out by Jan Beulich * Fixed git rebase merge issue introduced in v4 (acquiring locking twice) * Change for ()-loop in grant_map_exists * Coding style fixes v4: * Coding style nits from Jan Beulich * Fixup read locks pointed out by Jan Beulich * renamed double_gt_(un)lock to double_maptrack_(un)lock per request from Jan Beulich * Addressed ASSERT()'s from Jan Beulich v3: * Addressed gnttab_swap_grant_ref() comment from Andrew Cooper v2: * Add arm part per request from Julien Grall Christoph Egger (1): gnttab: Introduce rwlock to protect updates to grant table state Matt Wilson (1): gnttab: refactor locking for scalability docs/misc/grant-tables.txt | 49 ++++++- xen/arch/arm/mm.c | 4 +- xen/arch/x86/mm.c | 4 +- xen/common/grant_table.c | 321 +++++++++++++++++++++++++---------------- xen/include/xen/grant_table.h | 9 +- 5 files changed, 258 insertions(+), 129 deletions(-) -- 1.7.9.5 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |