Page = MmGetLRUFirstUserPage();
while (Page.QuadPart != 0LL && Target > 0)
{
+ /*
+ * FIXME: While the current page is write back it is possible
+ * that the next page is freed and not longer a user page.
+ */
NextPage = MmGetLRUNextUserPage(Page);
if (MmIsDirtyPageRmap(Page))
{
}
PagesWritten = 0;
+#if 0
+ /*
+ * FIXME: MmWriteDirtyPages doesn't work correctly.
+ */
MmWriteDirtyPages(128, &PagesWritten);
+#endif
CcRosFlushDirtyPages(128, &PagesWritten);
}
}