lkml.org 
[lkml]   [2023]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v6 10/24] x86/resctrl: Allocate the cleanest CLOSID by searching closid_num_dirty_rmid
    On 2023-09-14 at 17:21:24 +0000, James Morse wrote:
    >MPAM's PMG bits extend its PARTID space, meaning the same PMG value can be
    >used for different control groups.
    >
    >This means once a CLOSID is allocated, all its monitoring ids may still be
    >dirty, and held in limbo.
    >
    >Instead of allocating the first free CLOSID, on architectures where
    >CONFIG_RESCTRL_RMID_DEPENDS_ON_COSID is enabled, search

    "CONFIG_RESCTRL_RMID_DEPENDS_ON_COSID" >
    "CONFIG_RESCTRL_RMID_DEPENDS_ON_CLOSID"?

    >closid_num_dirty_rmid[] to find the cleanest CLOSID.
    >
    >The CLOSID found is returned to closid_alloc() for the free list
    >to be updated.

    --
    Kind regards
    Maciej Wieczór-Retman

    \
     
     \ /
      Last update: 2023-10-24 14:07    [W:5.321 / U:0.244 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site