Skip to content
Snippets Groups Projects
  1. Jan 10, 2011
  2. Jan 07, 2011
  3. Dec 30, 2010
  4. Dec 23, 2010
  5. Dec 20, 2010
    • Iustin Pop's avatar
      IAllocator: respect the alloc_policy for groups · 73206d0a
      Iustin Pop authored
      
      This patch changes the allocate mode to respect the alloc_policy for
      groups. It does this by changing the sort key from simply the solution
      score, to a tuple with two elements: the alloc policy (which is now an
      Ord instance) and the solution score. Also, the unallocable groups are
      filtered out in the filterMGResults phase.
      
      The patch also slightly enhances the informational message by
      including the policy in the group information, to help debugging.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarBalazs Lecz <leczb@google.com>
      73206d0a
Loading