[PATCH 1/3] virt: Add Transparent Hugepages setup

2011-06-27 Thread Lucas Meneghel Rodrigues
From: Yiqiao Pu y...@redhat.com This class configures khugepaged to active mode, with functions to restore original guest configuration. Changes from v1: * Rather than a pre/post script, config is now part of the framework * No need to store configuration in files anymore to restore host

[PATCH 1/3] virt: Add Transparent Hugepages setup v4

2011-06-26 Thread Lucas Meneghel Rodrigues
From: Yiqiao Pu y...@redhat.com This class configures khugepaged to active mode, with functions to restore original guest configuration. Changes from v1: * Rather than a pre/post script, config is now part of the framework * No need to store configuration in files anymore to restore host

Re: [PATCH 1/3] virt: Add Transparent Hugepages setup v2

2011-06-17 Thread Andrea Arcangeli
On Thu, Jun 16, 2011 at 01:34:54PM -0300, Lucas Meneghel Rodrigues wrote: On Thu, 2011-06-16 at 17:56 +0200, Andrea Arcangeli wrote: Hi Lucas, Hi Andrea, thanks for the review! Yiqiao is working on the patchset, v3 or v4 will contain the fixes you have pointed out. Thanks! BTW, I'm in the

Re: [PATCH 1/3] virt: Add Transparent Hugepages setup v2

2011-06-16 Thread Andrea Arcangeli
Hi Lucas, On Wed, Jun 15, 2011 at 09:18:34PM -0300, Lucas Meneghel Rodrigues wrote: +class THPNotSupportedError(THPError): + +Thrown when host does not support tansparent hugepages. + +pass s/tansparent/transparent/ +class THPWriteConfigError(THPError): + +Thrown

Re: [PATCH 1/3] virt: Add Transparent Hugepages setup v2

2011-06-16 Thread Lucas Meneghel Rodrigues
On Thu, 2011-06-16 at 17:56 +0200, Andrea Arcangeli wrote: Hi Lucas, Hi Andrea, thanks for the review! Yiqiao is working on the patchset, v3 or v4 will contain the fixes you have pointed out. +# test_cfg holds all the desired host config values we want to set +# before THP

[PATCH 1/3] virt: Add Transparent Hugepages setup v2

2011-06-15 Thread Lucas Meneghel Rodrigues
This class configures khugepaged to active mode, with functions to restore original guest configuration. Changes from v1: * Rather than a pre/post script, config is now part of the framework * No need to store configuration in files anymore to restore host khugepaged original behavior