lkml.org 
[lkml]   [2023]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v2 06/26] selftests/resctrl: Create cache_portion_size() helper
    From
    Hi Ilpo,

    On 11/20/2023 3:13 AM, Ilpo Järvinen wrote:
    > CAT and CMT tests calculate size of the cache portion for the n-bits
    > cache allocation on their own.
    >
    > Add cache_portion_size() helper that calculates size of the cache
    > portion for the given number of bits and use it to replace the existing
    > span calculations. This also prepares for the new CAT test that will
    > need to determine the size of the cache portion also during results
    > processing.
    >
    > Rename also 'cache_size' local variables to 'cache_total_size' to
    > prevent misinterpretations.
    >
    > Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
    > ---

    Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>

    Reinette

    \
     
     \ /
      Last update: 2023-11-28 23:11    [W:4.055 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site