* Removed some old working_set/page daemon stuff from the address space.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26457 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2007, Haiku. All rights reserved.
|
||||
* Copyright 2002-2008, Haiku. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||
@@ -12,21 +12,6 @@
|
||||
#include <vm_types.h>
|
||||
|
||||
|
||||
/* should make these scale with the system */
|
||||
#define DEFAULT_KERNEL_WORKING_SET 1024
|
||||
#define DEFAULT_WORKING_SET 256
|
||||
#define DEFAULT_MAX_WORKING_SET 65536
|
||||
#define DEFAULT_MIN_WORKING_SET 64
|
||||
|
||||
#define WORKING_SET_INCREMENT 32
|
||||
#define WORKING_SET_DECREMENT 32
|
||||
|
||||
#define PAGE_DAEMON_INTERVAL 500000
|
||||
#define PAGE_SCAN_QUANTUM 500
|
||||
#define WORKING_SET_ADJUST_INTERVAL 5000000
|
||||
#define MAX_FAULTS_PER_SECOND 100
|
||||
#define MIN_FAULTS_PER_SECOND 10
|
||||
|
||||
#define WRITE_COUNT 1024
|
||||
#define READ_COUNT 1
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2007, Axel Dörfler, [email protected].
|
||||
/*
|
||||
* Copyright 2002-2008, Axel Dörfler, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||
@@ -236,11 +236,6 @@ struct vm_address_space {
|
||||
int32 ref_count;
|
||||
int32 fault_count;
|
||||
int32 state;
|
||||
addr_t scan_va;
|
||||
addr_t working_set_size;
|
||||
addr_t max_working_set;
|
||||
addr_t min_working_set;
|
||||
bigtime_t last_working_set_adjust;
|
||||
struct vm_address_space *hash_next;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user