[libvirt] [PATCH] qemuSetupMemoryCgroup: Handle hard_limit properly

Peter Krempa pkrempa at redhat.com
Tue Aug 20 10:18:07 UTC 2013


On 08/20/13 12:08, Osier Yang wrote:
> On 20/08/13 17:10, Michal Privoznik wrote:
>> Since 16bcb3 we have a regression. The hard_limit is set
>> unconditionally. By default, the limit is zero. Hence, if user hasn't

s/default,/default/

>> configured any, we set the zero in cgroup subsystem making the kernel
>> kill the corresponding qemu process immediately. The proper fix is to
>> set hard_limit iff user has configure any.
> 
> s/iff/if/,

iff means 'if and only if':
http://en.wikipedia.org/wiki/If_and_only_if

A typo is in s/configure/configured/ .

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130820/ead27340/attachment-0001.sig>


More information about the libvir-list mailing list