Re: [PATCH 3/4] KVM MMU: allow shadow page become unsync at creatingtime

From: Avi Kivity
Date: Fri Apr 30 2010 - 14:46:37 EST


On 04/30/2010 12:03 PM, Xiao Guangrong wrote:
Allow new shadow page become unsync when is created, then we no need
write-protect the 'sp->gfn', this idea is from Avi:

|Another interesting case is to create new shadow pages in the unsync
|state. That can help when the guest starts a short lived process: we
|can avoid write protecting its pagetables completely


Any idea how this improves performance? A kernel build has a lot of short lived processes, might see an improvement there.

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