Move some profile stuff to NDK and fix some bugs in the executive implementation...
[reactos.git] / reactos / ntoskrnl / mm / pagfault.c
1 /* $Id$
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/mm/pagfault.c
6 * PURPOSE: No purpose listed.
7 *
8 * PROGRAMMERS: No programmer listed.
9 */
10
11
12 #include <ntoskrnl.h>
13
14 /*
15 * @implemented
16 */
17 BOOLEAN
18 STDCALL
19 MmIsRecursiveIoFault (
20 VOID
21 )
22 {
23 PETHREAD Thread = PsGetCurrentThread ();
24
25 return ( Thread->DisablePageFaultClustering
26 | Thread->ForwardClusterOnly
27 );
28 }
29
30
31 /* EOF */