Re: [PATCH v2 2/6] util: Use default group's mask for unspecified resctrl allocations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 31, 2018 at 02:36:57PM +0100, Martin Kletzander wrote:
> Introduce virResctrlAllocCopyMasks() and use that to initially copy the default
> group schemata to the allocation before reserving any parts of the cache.  The
> reason for this is that when new group is created the schemata will have unknown
> data in it.  If there was previously group with the same CLoS ID, it will have
> the previous valies, if not it will have all bits set.  And we need to set all
> unspecified (in the XML) allocations to the same one as the default group.
> 
> Some non-Linux functions now need to be made public due to this change.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1289368
> 
> Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
> ---
>  src/util/virresctrl.c | 72 +++++++++++++++++++++++++++++++++++----------------
>  1 file changed, 50 insertions(+), 22 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux