lkml.org 
[lkml]   [2023]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v8 3/8] x86/resctrl: Prepare for different scope for control/monitor operations
    On Tue, Oct 3, 2023 at 11:30 PM Tony Luck <tony.luck@intel.com> wrote:
    >
    > Resctrl assumes that control and monitor operations on a resource are
    > performed at the same scope.
    >
    > Prepare for systems that use different scope (specifically L3 scope for
    > cache control and NODE scope for cache occupancy and memory bandwidth
    > monitoring).
    >
    > Create separate domain lists for control and monitor operations.
    >
    > Note that errors during initialization of either control or monitor
    > functions on a domain would previously result in that domain being
    > excluded from both control and monitor operations. Now the domains are
    > allocated independently it is no longer required to disable both control
    > and monitor operations if either fail.
    >
    > Signed-off-by: Tony Luck <tony.luck@intel.com>
    >
    > ---
    >
    > Changes since last version:
    >
    > Initialize the "type" in rdt_domain_hdr when creating domains.
    > Check type has expected value before using container_of() to
    > get to the surrounding structure.
    >
    > Rename "hw_mondom" to "hw_dom" in domain_add_cpu_mon() and
    > in domain_remove_cpu_mon().
    >
    > Add lockdep_assert_held(&rdtgroup_mutex) to resctrl_offline_mon_domain()

    Thanks!

    Reviewed-by: Peter Newman <peternewman@google.com>

    \
     
     \ /
      Last update: 2023-10-05 18:08    [W:4.017 / U:0.352 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site