mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08:00
[NTOSKRNL] Move DPRINT1("Thread wants too much stack\n") around
To KiUserModeCallout() from MmGrowKernelStackEx(). As suggested by Thomas Faber: "MmGrowKernelStackEx really shouldn't be DPRINT'ing." CORE-14494
This commit is contained in:
parent
cbb7ad6f5b
commit
66bf74d228
@ -282,7 +282,15 @@ KiUserModeCallout(PKCALLOUT_FRAME CalloutFrame)
|
||||
Status = MmGrowKernelStack((PVOID)InitialStack);
|
||||
|
||||
/* Quit if we failed */
|
||||
if (!NT_SUCCESS(Status)) return Status;
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
if (Status == STATUS_STACK_OVERFLOW)
|
||||
{
|
||||
DPRINT1("Thread wants too much stack\n");
|
||||
}
|
||||
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
||||
/* Save the current callback stack and initial stack */
|
||||
|
@ -405,7 +405,6 @@ MmGrowKernelStackEx(IN PVOID StackPointer,
|
||||
//
|
||||
// Sorry!
|
||||
//
|
||||
DPRINT1("Thread wants too much stack\n");
|
||||
return STATUS_STACK_OVERFLOW;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user