Re: BUG: using smp_processor_id() in preemptible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/...
> >>      
> >
> > 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.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux