Re: [PATCH RFC] ioctl based CAT interface

From: Peter Zijlstra
Date: Mon Nov 16 2015 - 10:37:24 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/