ccc8865ba2
along the protection flags). Changed the handling of B_STACK_AREA types and anonymous vm_areas: now every area can overcommit if B_OVERCOMMITTING_AREA was specified. B_STACK_AREA areas are still automatically overcommitting, but B_KERNEL_STACK_AREA areas no longer. vm_store_anonymous_noswap.c now only tests for guard pages if there were any specified which is only done for B_STACK_AREA areas. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12673 a95241bf-73f2-0310-859d-f6bbb57e9c96
21 lines
508 B
C
21 lines
508 B
C
/*
|
|
* Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
|
* Distributed under the terms of the NewOS License.
|
|
*/
|
|
#ifndef _KERNEL_VM_STORE_ANONYMOUS_H
|
|
#define _KERNEL_VM_STORE_ANONYMOUS_H
|
|
|
|
|
|
#include <vm_types.h>
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
vm_store *vm_store_create_anonymous_noswap(bool canOvercommit, int32 numGuardPages);
|
|
|
|
#endif /* _KERNEL_VM_STORE_ANONYMOUS_H */
|