lkml.org 
[lkml]   [2008]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: quicklists confuse meminfo
On Mon, Mar 10, 2008 at 11:35:50AM -0700, Jeremy Fitzhardinge wrote:
> Hm, given that Xen doesn't make any topology guarantees about vcpus, I
> don't think it would make much difference. I think it would only be
> observable if you actually pinned the vcpus to physical siblings.
> Besides we could easily maintain sibling info and look to see if we're
> about to reload cr3 to match the other thread(s), then just use the same
> pgd copy.

The optimization doesn't really require any topology information;
you just should make sure that if you have a VM shared between
different CPUs that it has the same CR3. The easiest way to enforce
that is to always only use a single CR3 for a VM.
-Andi


\
 
 \ /
  Last update: 2008-03-10 20:07    [W:0.074 / U:0.056 seconds]
©2003-2014 Jasper Spaans. Advertise on this site