public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: kvm@vger.kernel.org
Subject: Re: BUG: using smp_processor_id() in preemptible
Date: Mon, 29 Jun 2009 13:16:43 +0300	[thread overview]
Message-ID: <4A48948B.4040700@redhat.com> (raw)
In-Reply-To: <1246269961.7775.36.camel@johannes.local>

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


  reply	other threads:[~2009-06-29 10:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-24 14:15 BUG: using smp_processor_id() in preemptible Johannes Berg
2009-06-28 14:11 ` Avi Kivity
2009-06-29  8:32   ` Johannes Berg
2009-06-29  9:08     ` Avi Kivity
2009-06-29  9:54       ` Johannes Berg
2009-06-29  9:57         ` Johannes Berg
2009-06-29 10:00           ` Avi Kivity
2009-06-29 10:06             ` Johannes Berg
2009-06-29 10:16               ` Avi Kivity [this message]
2009-06-29 10:18                 ` Johannes Berg
2009-06-29 10:25                   ` Avi Kivity
2009-06-29 10:32                     ` Johannes Berg
2009-06-29 10:39                       ` Avi Kivity
2009-06-29 10:55                         ` Johannes Berg
2009-06-29 11:38                           ` Avi Kivity
2009-06-29 12:03                             ` Johannes Berg
2009-06-29  9:59         ` Avi Kivity
2009-06-29 10:00           ` Johannes Berg
2009-06-29 10:04             ` Avi Kivity
2009-06-29 10:04               ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A48948B.4040700@redhat.com \
    --to=avi@redhat.com \
    --cc=johannes@sipsolutions.net \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox