mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
- 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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user