Skip to content
  • Stephen Kelly's avatar
    cmPolicies: Store all statuses in a single bitset. · 93cc2eef
    Stephen Kelly authored
    Currently there are an optimal number of policies (64) such that
    there are no wasted bits.  When another policy is added, the
    cmPolicyMap will grow from 40 bytes to 80, and occupy 45.  By storing
    all in a single bitset, we stay under the cache line size of 64 bytes
    until there are 512 policies in a range.
    93cc2eef