From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: BUG: using smp_processor_id() in preemptible Date: Mon, 29 Jun 2009 13:16:43 +0300 Message-ID: <4A48948B.4040700@redhat.com> References: <1245852919.21314.56.camel@johannes.local> <4A477A14.8070801@redhat.com> <1246264335.7775.5.camel@johannes.local> <4A488498.1030102@redhat.com> <1246269295.7775.28.camel@johannes.local> <1246269440.7775.29.camel@johannes.local> <4A4890AE.5020104@redhat.com> <1246269961.7775.36.camel@johannes.local> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Johannes Berg Return-path: Received: from mx2.redhat.com ([66.187.237.31]:58001 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751073AbZF2KPR (ORCPT ); Mon, 29 Jun 2009 06:15:17 -0400 In-Reply-To: <1246269961.7775.36.camel@johannes.local> Sender: kvm-owner@vger.kernel.org List-ID: On 06/29/2009 01:06 PM, Johannes Berg wrote: >>> And if I add -m 512 it works just fine. Seems the default is too small >>> for me... But why would qemu/kvm have different defaults? >>> >>> >> Both are 128 MB. Strange. And certainly Linux should boot in 128 MB. >> > > If I boot with -m 512 I get this: > root@(none):~# free > total used free shared buffers cached > Mem: 378608 25196 353412 0 1012 8692 > -/+ buffers/cache: 15492 363116 > Swap: 0 0 0 > > > so something is definitely eating a lot of memory (missing about 142M). > Same guest kernel/fs in qemu gets: > freeroot@(none):~# free > total used free shared buffers cached > Mem: 407080 23236 383844 0 1056 8692 > -/+ buffers/cache: 13488 393592 > Swap: 0 0 0 > > so it's missing about 114M. > I get 500MB with 2.6.31-rc1+. What does dmesg say about the e820 map? -- error compiling committee.c: too many arguments to function