- Remove ugly hack from gdiobj.c, official sorry to Timo Kreuzer, his changes were perfect!

- Temporary disable MPW thread shutdown and forcing page flush, since it results in memory corruption.

svn path=/trunk/; revision=32606
This commit is contained in:
Aleksey Bragin
2008-03-07 20:49:38 +00:00
parent a4374a7549
commit 778097fbec
2 changed files with 2 additions and 10 deletions

View File

@@ -73,6 +73,7 @@ VOID
NTAPI
MiShutdownMemoryManager(VOID)
{
#if 0
ULONG PagesWritten;
PETHREAD Thread;
@@ -100,6 +101,7 @@ MiShutdownMemoryManager(VOID)
There will be no other chance to do this later, since filesystems
are going to be shut down. */
CcRosFlushDirtyPages(128, &PagesWritten);
#endif
}
VOID

View File

@@ -1318,16 +1318,6 @@ LockHandle:
{
POBJ Object = Entry->KernelData;
/* HACK: Introduced very recently, probably by Timo's changes */
if ((ULONG_PTR)Object < 0x80000000)
{
DPRINT1("KernelData is invalid (%p) for Entry %p!!!\n",
Object, Entry);
/* Hopefully someone is going to solve this issue */
return;
}
PrevThread = Object->Tid;
if (Object->cExclusiveLock == 0 || PrevThread == Thread)
{