git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update for HEAD-2003091401
[reactos.git]
/
ntoskrnl
/
mm
/
wset.c
diff --git
a/ntoskrnl/mm/wset.c
b/ntoskrnl/mm/wset.c
index
dc42ca0
..
97ce23e
100644
(file)
--- a/
ntoskrnl/mm/wset.c
+++ b/
ntoskrnl/mm/wset.c
@@
-59,6
+59,10
@@
MmTrimUserMemory(ULONG Target, ULONG Priority, PULONG NrFreedPages)
Target--;
(*NrFreedPages)++;
}
+ else if (Status == STATUS_PAGEFILE_QUOTA)
+ {
+ MmSetLRULastPage(CurrentPhysicalAddress);
+ }
CurrentPhysicalAddress = NextPhysicalAddress;
}