mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00: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
2 changed files with 9 additions and 2 deletions
|
@ -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 a new issue