Don't use more memory groups than declared
The number of usable memory groups is limited by the constant limit
MEMORY_GROUP_MANAGER_NR_GROUPS but also by the number of groups actually
declared. Check both limits during allocation.
Bug: 201677538
Signed-off-by:
Sean Callanan <spyffe@google.com>
Change-Id: Id23264452a8472e7589ffce3c6bc87cf0552ca32
Loading
Please sign in to comment