[NTOS]: Add MiRemoveZeroPageSafe helper function, when a zero page is required, but...
authorSir Richard <sir_richard@svn.reactos.org>
Wed, 29 Sep 2010 01:10:28 +0000 (01:10 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Wed, 29 Sep 2010 01:10:28 +0000 (01:10 +0000)
commit14f8621042a0e9b05a356da7fa18fafe6a4e9ebd
tree683fff7f4771838bcc506e48c110eb2d2d5409a9
parent71e8fc824be0663644958475e644b8c7ec717d42
[NTOS]: Add MiRemoveZeroPageSafe helper function, when a zero page is required, but the inline zeroing of MiRemoveZeroPage is not. This function will only try grabbing a zero page if one exists, otherwise a free page will be grabbed and zeroed with custom code of the caller's choosing.
[NTOS]: Add concept of process color and system color. Compute correct color to use whenever requesting a page.
[NTOS]: Uncondtionally enable the color code when inserting/removing pages.
For now, when requesting a page, colors are still ignored, and the global PFN lists are scanned instead. If there are no regressions, we are one patch away from that.

svn path=/trunk/; revision=48927
reactos/ntoskrnl/mm/ARM3/miarm.h
reactos/ntoskrnl/mm/ARM3/pagfault.c
reactos/ntoskrnl/mm/ARM3/pfnlist.c
reactos/ntoskrnl/mm/ARM3/pool.c
reactos/ntoskrnl/mm/ARM3/procsup.c
reactos/ntoskrnl/mm/ARM3/zeropage.c
reactos/ntoskrnl/mm/freelist.c