Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751733AbbLUMxY (ORCPT ); Mon, 21 Dec 2015 07:53:24 -0500 Received: from resqmta-ch2-01v.sys.comcast.net ([69.252.207.33]:39001 "EHLO resqmta-ch2-01v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751394AbbLUMxW (ORCPT ); Mon, 21 Dec 2015 07:53:22 -0500 Date: Mon, 21 Dec 2015 06:53:20 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@east.gentwo.org To: Marcelo Tosatti cc: Fenghua Yu , "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , Tony Luck , Ravi V Shankar , Peter Zijlstra , Tejun Heo , linux-kernel , x86 Subject: Re: [PATCH V16 00/11] x86: Intel Cache Allocation Technology Support In-Reply-To: <20151218204915.GA30427@amt.cnet> Message-ID: References: <1450392376-6397-1-git-send-email-fenghua.yu@intel.com> <20151218204915.GA30427@amt.cnet> Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1085 Lines: 35 On Fri, 18 Dec 2015, Marcelo Tosatti wrote: > > Could you also support another low level interface where a task (or > > process) can set the CLOS id itself if it has CAP_SYS_NICE. > > Hi Christoph, > > Do you have a proposal for an interface? Syscall set_closid(int closid) for an app. The CLOS id should be listed in /proc//status And then /proc/clos listing the possible configs with their current setups. Or /proc/clos//. Then have the ability to modify those for the root user. > > Plus some way > > for the supervisor to directly control the IA32_L3_MASK_n MSR? > > What you mean supervisor? Hypervisor or root user? Root user. > > > Is there a way to see these values for debugging purposes? > > Yes, from userspace, wrmsr and rdmsr. Maybe have a nicer way to interact with these configurations via /proc? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/