• Jiri Olsa's avatar
    x86/intel_rdt: Add cpus_list rdtgroup file · 4ffa3c97
    Jiri Olsa authored
    The resource control filesystem provides only a bitmask based cpus file for
    assigning CPUs to a resource group. That's cumbersome with large cpumasks
    and non-intuitive when modifying the file from the command line.
    
    Range based cpu lists are commonly used along with bitmask based cpu files
    in various subsystems throughout the kernel.
    
    Add 'cpus_list' file which is CPU range based.
    
      # cd /sys/fs/resctrl/
      # echo 1-10 > krava/cpus_list
      # cat krava/cpus_list
      1-10
      # cat krava/cpus
      0007fe
      # cat cpus
      fffff9
      # cat cpus_list
      0,3-23
    
    [ tglx: Massaged changelog and replaced "bitmask lists" by "CPU ranges" ]
    Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Shaohua Li <shli@fb.com>
    Link: http://lkml.kernel.org/r/20170410145232.GF25354@kravaSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    4ffa3c97
Name
Last commit
Last update
..
i386 Loading commit data...
x86_64 Loading commit data...
00-INDEX Loading commit data...
boot.txt Loading commit data...
early-microcode.txt Loading commit data...
earlyprintk.txt Loading commit data...
entry_64.txt Loading commit data...
exception-tables.txt Loading commit data...
intel_mpx.txt Loading commit data...
intel_rdt_ui.txt Loading commit data...
kernel-stacks Loading commit data...
mtrr.txt Loading commit data...
pat.txt Loading commit data...
protection-keys.txt Loading commit data...
tlb.txt Loading commit data...
topology.txt Loading commit data...
usb-legacy-support.txt Loading commit data...
zero-page.txt Loading commit data...