From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: [PATCH v2 6/8] kvm tools: Add rwlock wrapper Date: Mon, 30 May 2011 14:12:34 +0300 Message-ID: <1306753954.14564.92.camel@lappy> References: <1306744247-26051-1-git-send-email-levinsasha928@gmail.com> <1306744247-26051-6-git-send-email-levinsasha928@gmail.com> <20110530084309.GH30513@elte.hu> <1306748069.14564.52.camel@lappy> <1306748796.14564.62.camel@lappy> <20110530095451.GB8461@elte.hu> <20110530201110.f3bf20b5.yoshikawa.takuya@oss.ntt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Ingo Molnar , Pekka Enberg , kvm@vger.kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com, "Paul E. McKenney" , Avi Kivity , takuya.yoshikawa@gmail.com To: Takuya Yoshikawa Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:65057 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755763Ab1E3LNE (ORCPT ); Mon, 30 May 2011 07:13:04 -0400 Received: by wya21 with SMTP id 21so2550034wya.19 for ; Mon, 30 May 2011 04:13:02 -0700 (PDT) In-Reply-To: <20110530201110.f3bf20b5.yoshikawa.takuya@oss.ntt.co.jp> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, 2011-05-30 at 20:11 +0900, Takuya Yoshikawa wrote: > On Mon, 30 May 2011 11:54:51 +0200 > Ingo Molnar wrote: > > > > > * Pekka Enberg wrote: > > > > > On Mon, May 30, 2011 at 12:46 PM, Sasha Levin wrote: > > > > I'm just saying that we're limited to as many VCPU threads as we can > > > > create. br_read_lock() won't do anything on a non-VCPU thread, which > > > > makes it impossible to test it on non-VCPUs. > > > > > > It sure would be useful to be able to fire up 4096 VCPUs... ;-) > > > > > > But lets start out with 64 VCPUs, OK? It's better than nothing. > > > > In practice 64 VPUs ought to be able to find a good deal of bugs > > already. > > Does kvm tools allow users to start more VCPUs than the actual cores? > Yes. > IIRC, qemu rejects such settings. > qemu also allows having more VCPUs than cores. > Takuya -- Sasha.