From: Johannes Berg Subject: Re: BUG: using smp_processor_id() in preemptible Date: Mon, 29 Jun 2009 12:55:59 +0200 Message-ID: <1246272959.7775.41.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> <1246269961.7775.36.camel@johannes.local> <4A48948B.4040700@redhat.com> <1246270732.7775.37.camel@johannes.local> <4A4896A9.5050407@redhat.com> <1246271545.7775.40.camel@johannes.local> <4A4899C7.7000604@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-LDvLn/KCs7ekpFLEc4A/" Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from xc.sipsolutions.net ([83.246.72.84]:55821 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753813AbZF2K4A (ORCPT ); Mon, 29 Jun 2009 06:56:00 -0400 In-Reply-To: <4A4899C7.7000604@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: --=-LDvLn/KCs7ekpFLEc4A/ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2009-06-29 at 13:39 +0300, Avi Kivity wrote: > On 06/29/2009 01:32 PM, Johannes Berg wrote: > > > >> Do you really have a 100MB kernel? > >> =20 > > > > Hmm. Maybe? > > > > text data bss dec hex filename > > 5635486 5482828 84287488 95405802 5afc6ea vmlinux > > -rwxr-xr-x 1 johannes johannes 86242879 2009-06-29 11:31 vmlinux > > -rwxr-xr-x 1 johannes johannes 83M 2009-06-29 11:31 vmlinux > > > > But that's with complete debug info. > > =20 >=20 > debug info is not loaded IIUC. But you have 84MB of BSS, that looks=20 > very broken. Maybe you have a zillion cpus configured, though that=20 > should be dynamic now. I had MAXSMP configured, which makes it 4096, but if I turn off MAXSMP and make NR_CPUS 8, then I get text data bss dec hex filename 5594521 2562924 12726272 20883717 13ea905 vmlinux johannes --=-LDvLn/KCs7ekpFLEc4A/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIcBAABAgAGBQJKSJ26AAoJEODzc/N7+QmaZr0P/3iKDbNtLH5AW4WnLZPSpvuY zCsY7RaG6+sH8AUgNqW7bH26MjEDc8a8V/BEKnyy5Dmcrt/TSLJp9SePT9yRnZ/8 40We+pBhbijjVTtFwjTVj2b1ZOdymbNfH0JxLYybHa1oo78nToeTsZtTH+luSyoZ lUkAEQRm2SCKNPI6hC4FsueehhQqorrdyJ1YYWFs+D3z/z4+vgDrbuMkzAgXhZVL eodk7S1nNGzKW5Mvm8MOACI1Qqp6aF7uJkxVkoD5i2PXAECwJYS/YZaNKiHRSN1c IW5wLgnDj3RcsMCJ5mgqaqGwYJix1OISCdlVqpxX2GazqEwsHGmBlT0ykdfZH9Po paIFRp/5B9YNdgn4kDLnn5jC/xsBIkuWgAsAzlIi7mASR9Bfr9NI3A5jLBX3NwAY s+jz8uygOKw30AD/AmqY4hIVQWd56/0nEPZatYjLvy+k7J8BdSYxxvf0dppH7THM qWpe/MKpYawwTDMW3vLbt2+Q2skIuRn8U1WHAbDHk/w2vNG/ta8/Wcduuqrac93p d+/2VoP+x2iSmCzHCa6dHkwEpTN2DfZgvSjAah1N+QuWK7a2TAPldvINSxO89VSE vBw/G1dgg88dHlPyE+PdhMjVvx3mZvFh5ysvl8GD+DPkziJhOvTSOOlfCd/uquig cjEolNJ89IGniXTmZOH8 =w4T6 -----END PGP SIGNATURE----- --=-LDvLn/KCs7ekpFLEc4A/--