Re: [PATCH RFC] ioctl based CAT interface

Peter Zijlstra
2015-11-16T15:37:22Z

On Mon, Nov 16, 2015 at 12:37:08PM -0200, Marcelo Tosatti wrote:
> - position in bitmask represents nothing other than identification of
> reservation and size, so:
>
> group-A = 0x3F, group-B = 0xFF
> is the same as
> group-A = 0xFC, group-B = 0xFF

No, the position very much matters; maybe not in this example, but it
does the moment you get overlapping bitmaps.

Picking which bits overlap determines which other groups are affected.

This is why a bitmap is more expressive than a single percentage.