[lkml]   [2015]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH RFC] ioctl based CAT interface
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.

 \ /
  Last update: 2015-11-16 17:01    [W:0.082 / U:3.960 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site