* register_low_memory_handler() was called too early by several kernel
components - now, we divide the initialization of that service into two parts which allows this (before, most handlers were gone after boot). * Added debugger command that dumps the low memory handlers. * The slab allocator now registers its low memory handler with a higher priority, so that it'll run before the potentially heavier ones. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22374 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2005, Axel Dörfler, [email protected]. All rights reserved.
|
||||
* Copyright 2005-2007, Axel Dörfler, [email protected]. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _KERNEL_VM_LOW_MEMORY_H
|
||||
@@ -24,6 +24,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
status_t vm_low_memory_init(void);
|
||||
status_t vm_low_memory_init_post_thread(void);
|
||||
int32 vm_low_memory_state(void);
|
||||
void vm_low_memory(size_t requirements);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user