FRAME_ARRAY_SIZE
static ulong_t mfn_frames[FRAME_ARRAY_SIZE];
static pfn_t pfn_frames[FRAME_ARRAY_SIZE];
if (credit > FRAME_ARRAY_SIZE)
credit = FRAME_ARRAY_SIZE;
if (debit > FRAME_ARRAY_SIZE) {
debit = FRAME_ARRAY_SIZE;