[libvirt] [PATCH 05/10] resctrl: Add functions to work with resctrl allocations

Pavel Hrdina phrdina at redhat.com
Thu Jan 25 11:23:29 UTC 2018


On Wed, Jan 24, 2018 at 10:57:05PM +0100, Martin Kletzander wrote:
> On Wed, Jan 24, 2018 at 02:51:46PM +0100, Pavel Hrdina wrote:
> > On Tue, Jan 23, 2018 at 07:05:14PM +0100, Martin Kletzander wrote:
> > > With this commit we finally have a way to read and manipulate basic resctrl
> > > settings.  Locking is done only on exposed functions that read/write from/to
> > > resctrlfs.  Not in functions that are exposed in virresctrlpriv.h as those are
> > > only supposed to be used from tests.
> > > 
> > > More information about how resctrl works:
> > > 
> > >   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/x86/intel_rdt_ui.txt
> > > 
> > > Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> > > ---
> > >  src/Makefile.am           |    2 +-
> > >  src/libvirt_private.syms  |   10 +
> > >  src/util/virresctrl.c     | 1211 ++++++++++++++++++++++++++++++++++++++++++++-
> > >  src/util/virresctrl.h     |   49 ++
> > >  src/util/virresctrlpriv.h |   27 +
> > >  5 files changed, 1288 insertions(+), 11 deletions(-)
> > >  create mode 100644 src/util/virresctrlpriv.h

With the fixes included

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180125/3a0eeedb/attachment-0001.sig>


More information about the libvir-list mailing list