Project

General

Profile

« Previous | Next » 

Revision 1db19a2d

Added by eightbitraptor (Matt V-H) over 1 year ago

Remove unneeded loop through size_pools

This function loops twice through the array of size pools. Once to set
up the pages list, and then again later on in the function to set the
allocatable_pages count.

We don't do anything with the size pools in between the invocation of
these loops that will affect the size pools, so this commit removes the
second loop and moves the allocatable_pages count update into the first
loop.