Skip to content

Commit

Permalink
xive: Use an allocator for EQDs
Browse files Browse the repository at this point in the history
This adds a bitmap allocator for EQDs. They are allocated in groups
of 8 naturally aligned. The VP structures associated with physical
CPUs now have all 8 EQDs available though only one is provisioned
and enabled.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
ozbenh authored and stewartsmith committed Jan 5, 2017
1 parent 439b19e commit 2026df3
Show file tree
Hide file tree
Showing 2 changed files with 221 additions and 85 deletions.
Loading

0 comments on commit 2026df3

Please sign in to comment.