- Fix a mistake in low memory pages allocation algorithm (commit-reviewers, where are you? :))

svn path=/trunk/; revision=24494
This commit is contained in:
Aleksey Bragin 2006-10-12 20:46:07 +00:00
parent 3dce4b0486
commit 20d422c02d

View file

@ -362,7 +362,7 @@ ULONG MmFindAvailablePages(PVOID PageLookupTable, ULONG TotalPageCount, ULONG Pa
if (AvailablePagesSoFar >= PagesNeeded)
{
return Index;
return Index - AvailablePagesSoFar + 1;
}
}
}