From: Johannes Berg Subject: Re: BUG: using smp_processor_id() in preemptible Date: Mon, 29 Jun 2009 12:06:01 +0200 Message-ID: <1246269961.7775.36.camel@johannes.local> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-+O/uAvQ6+QjbTtsoozbs" Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from xc.sipsolutions.net ([83.246.72.84]:36476 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752873AbZF2KGA (ORCPT ); Mon, 29 Jun 2009 06:06:00 -0400 In-Reply-To: <4A4890AE.5020104@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: --=-+O/uAvQ6+QjbTtsoozbs Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2009-06-29 at 13:00 +0300, Avi Kivity wrote: > On 06/29/2009 12:57 PM, Johannes Berg wrote: > >> It's actually panic'ed because it ran out of memory, but didn't print > >> that to my vga/console/curses/... > >> =20 > > > > 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? > > =20 >=20 > 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. johannes --=-+O/uAvQ6+QjbTtsoozbs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIcBAABAgAGBQJKSJIGAAoJEODzc/N7+QmaHakQAKTcgScJtWmlOdnTDnaYAJ0l XTt6kwVPjhZggCt3AvnhR+a922gJKLdVIPA5F6DkVDRXIqAQd80NrN7gjGDqjF5w obyb0rRlq29MSj61kzEBFcGkrisP2J/B198QB+yed9AnMECtahNJ5komXmxeEdDd hOsUhuhhQpWkCx2SuRQPpbTbCvYOXnKS24Ovmau9hcXNbeyhCUw4DK0w7wZLbQyB OxkgPvNfhosk9ozeyOAggFo9i8u/mk5zjVy/4QWex9KCIx4XSOCdnYd/8bvL1skd jPvzIX2eZXvWDL9lGnCCaGeVWG+2ycgeb44pNONyhEPKzHuBHpRQBvqP4L+0XmCs 2BVqCGFhrd5t9aBc3aBiy8frN7ojaLeiGFqjw9Xv3qfuskb4iKnKW2yBnNADmd5n 5zbe1yTcO/u+u3y12xquma2tz2i8oILAoLtqgdbztO6bcq7CiPz94EuPPfuOfmai Y+BA+LdivqBEQRsj3o6IbpMwKYDKfeFF/Dz6AURsGw19J/hbqaXtJes8JjPMy2Wk XiIdKt8SQxNwCVeZ44aBD6tBktns6mmwc0qazDM5ZE54FsgB2LvihBdNaINfoTPL PIv2m2+wXm4nTcIGzFKIrj25Mpb8iv2w6ZuXL5RSPIXRDlnZPjKI97IJHDHmomOG jeSUzgYpecYdKFxOmq7V =dHKp -----END PGP SIGNATURE----- --=-+O/uAvQ6+QjbTtsoozbs--