On 02/04/2014 07:42 PM, Marcelo Tosatti wrote: >> >> <hugepages> >> <size strict='yes' unit='G'>1</size> >> </hugepages> >> >> where strict could be no if we are giving a hint but don't care if the >> hint cannot be honored (default yes if omitted), and where unit + value > > Its awkward because you'd always want the largest hugepages size > possible, to reduce TLB pressure. So its hard to find use for > > <size strict='no' unit='G'>1</size> > > So what about <size strict unit='K/G/M'>x</size> ? XML attributes don't work that way. Either you have strict='yes' or you omit it; but if there is no reason to ever not have strict, then it would be sufficient to have: <hugepages> <size unit='K/G/M'>x</size> </hugepages> where omitting the <size> subelement is a sign that it doesn't matter. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list