1. 25 9月, 2018 36 次提交
  2. 24 9月, 2018 1 次提交
  3. 21 9月, 2018 3 次提交
    • J
      util: Fix travis build error · 2c476dbc
      John Ferlan 提交于
      Commit 12093f1f used %ld instead of %zd for a size_t.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      2c476dbc
    • J
      Remove ignore_value or void from unlink calls · e3a42028
      John Ferlan 提交于
      There seems to be no need to add the ignore_value wrapper or
      caste with (void) to the unlink() calls, so let's just remove
      them. I assume at one point in time Coverity complained. So,
      let's just be consistent - those that care to check the return
      status can and those that don't can just have the naked unlink.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      Reviewed-by: NErik Skultety <eskultet@redhat.com>
      e3a42028
    • W
      conf: Introduce RDT monitor host capability · 6af84174
      Wang Huaqiang 提交于
      This patch is introducing cache monitor(CMT) to cache and
      memory bandwidth monitor(MBM) for monitoring CPU memory
      bandwidth.
      
      The host capability of the two monitors is also introduced
      in this patch.
      
      For CMT, the host capability is shown like:
        <host>
        ...
          <cache>
            <bank id='0' level='3' type='both' size='15' unit='MiB' cpus='0-5'>
              <control granularity='768' min='1536' unit='KiB' type='both' maxAllocs='4'/>
            </bank>
            <monitor level='3' 'reuseThreshold'='270336' maxMonitors='176'>
              <feature name='llc_occupancy'/>
            </monitor>
          </cache>
          ...
        </host>
      
      For MBM, the capability is shown like this:
        <host>
          ...
          <memory_bandwidth>
            <node id='1' cpus='6-11'>
              <control granularity='10' min ='10' maxAllocs='4'/>
            </node>
            <monitor maxMonitors='176'>
              <feature name='mbm_total_bytes'/>
              <feature name='mbm_local_bytes'/>
            </monitor>
          </memory_bandwidth>
          ...
        </host>
      Signed-off-by: NWang Huaqiang <huaqiang.wang@intel.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      6af84174