From: Christoph Egger Subject: [PATCH v5 0/2] gnttab: Improve scaleability Date: Tue, 10 Feb 2015 13:51:50 +0100 Message-ID: <1423572712-21319-1-git-send-email-chegger@amazon.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Christoph Egger List-Id: xen-devel@lists.xenproject.org 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