Re: [PATCH RFC] ioctl based CAT interface

Marcelo Tosatti
2015-11-16T21:22:29Z

On Mon, Nov 16, 2015 at 03:42:08PM +0100, Thomas Gleixner wrote:
> On Mon, 16 Nov 2015, Marcelo Tosatti wrote:
> > You need a task to be part of two cgroups at one time,
> > to support the following configuration:
> >
> > Task-A: 70% of cache reserved exclusively (reservation-0).
> > 20% of cache reserved (reservation-1).
> >
> > Task-B: 20% of cache reserved (reservation-1).
>
> Why would such a configuration be desired?
>
> Thanks,
>
> tglx

The HW supports cache sharing, its a HW feature.

Makes sense to share reserved cache between threads of an application
that for example share a library.