From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: [patch 00/11] convert slotslock to SRCU Date: Wed, 23 Dec 2009 09:38:33 -0200 Message-ID: <20091223113833.742662117@redhat.com> Cc: avi@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:30614 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752030AbZLWLqI (ORCPT ); Wed, 23 Dec 2009 06:46:08 -0500 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nBNBk7jw011489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 23 Dec 2009 06:46:08 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Now that synchronize_srcu_expedited is in the tree, we can continue the convertion of slots_lock to SRCU. Results: up: srcu-memslot: cpuid 2157 vmcall 1992 mov_from_cr8 11 mov_to_cr8 17 inl_from_pmtimer 11226 ipi (skipped) ipi+halt (skipped) stock: cpuid 2272 vmcall 2114 mov_from_cr8 11 mov_to_cr8 17 inl_from_pmtimer 11521 ipi (skipped) ipi+halt (skipped) vmcall 6.1% improvement smp 2: srcu-memslot: cpuid 2333 vmcall 2165 mov_from_cr8 11 mov_to_cr8 18 inl_from_pmtimer 12233 ipi 40734 ipi+halt 41675 stock: cpuid 2512 vmcall 2367 mov_from_cr8 11 mov_to_cr8 18 inl_from_pmtimer 12821 ipi 42941 ipi+halt 43146 vmcall 9.3% improvement