mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 05:13:39 +00:00
- Fixed the calculation of used non paged pool pages in grow_block.
svn path=/trunk/; revision=10486
This commit is contained in:
parent
2a373c783c
commit
03d66eb75a
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: npool.c,v 1.87 2004/08/08 20:33:17 ion Exp $
|
/* $Id: npool.c,v 1.88 2004/08/10 20:00:49 hbirr Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -1299,6 +1299,7 @@ grow_block(BLOCK_HDR* blk, PVOID end)
|
||||||
{
|
{
|
||||||
MiNonPagedPoolAllocMap[j / 32] |= (1 << (j % 32));
|
MiNonPagedPoolAllocMap[j / 32] |= (1 << (j % 32));
|
||||||
}
|
}
|
||||||
|
MiNonPagedPoolNrOfPages += k;
|
||||||
i += k - 1;
|
i += k - 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue