Re: [RFC 7/8]KVM: swap out guest pages

From: Avi Kivity
Date: Tue Jul 24 2007 - 01:39:18 EST


Shaohua Li wrote:
>>>
>>>
>> You're not removing any shadows of the page, in case that page is a
>> guest page table. But I don't see anything wrong with it -- the page
>> won't change while it's in swap.
>>
> You are right. Should we?
>

I don't think so. It's just strange to have shadows for a guest page
that is swapped out, so I pointed that out. But as the page cannot
change in swap, everything is safe. I guess that kernel page tables
could be swapped out after a short while in a guest that doesn't swap
its own kernel pages.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/