On 11/02/2011 05:14 PM, Dan Magenheimer wrote:
It occurs to me that batching could be done locally without changing the in-kernel "API" (i.e. frontswap_ops)... the guest-side KVM tmem-backend-driver could do the compression into guest-side memory and make a single hypercall=vmexit/vmenter whenever it has collected enough for a batch.
That seems like the best way to do it, indeed. Do the current hooks allow that mode of operation, or do the hooks only return after the entire operation has completed? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>