1 |
|
2002-02-20 Johan Rydberg <jrydberg@rtmk.org> |
2 |
|
|
3 |
|
* vm-slab.c (kmem_cache_bootstrap_size): Increase to 60 pages. |
4 |
|
(allocate_one_page): When no more bootstrap memory, allocate |
5 |
|
more using kmem_alloc_wired. |
6 |
|
(allocate_n_pages): Likewise. |
7 |
|
(kmem_cache_alloc): Lock cache. |
8 |
|
(kmem_cache_free): Likewise. |
9 |
|
(kmem_cache_create): Initialize lock. |
10 |
|
|
11 |
|
* vm-slab.h (struct kmem_cache ): Use thread lock instead of |
12 |
|
spin lock. |
13 |
|
|
14 |
|
* vm-page.c: Collect statistics. |
15 |
|
|
16 |
|
* vm-object.c (vm_object_destroy): Implement functionality. |
17 |
|
|
18 |
|
* vm-map.h (struct vm_map): Add flags. |
19 |
|
(VM_MAP_INTRSAFE): Defined. |
20 |
|
(struct vm_map_entry): Add static_p. |
21 |
|
(vm_map_release): Prototype. |
22 |
|
|
23 |
|
* vm-map.c (vm_map_entry_allocate): New function. |
24 |
|
(vm_map_entry_free): Likewise. |
25 |
|
(N_STATIC_MAP_ENTRIES): Defined. |
26 |
|
(kernel_map_entries): Declared. |
27 |
|
(static_free_entry_list): Likewise. |
28 |
|
(static_free_entry_lock): Likewise. |
29 |
|
(vm_map_init): Initialize static entry list. |
30 |
|
(vm_map_release): New function. |
31 |
|
(vm_map_fork): Use new entry allocation functions. |
32 |
|
(vm_map_enter): Likewise. |
33 |
|
(vm_map_allocate): Likewise. |
34 |
|
|
35 |
|
* trace.h (struct trace_statistics): Add VM stats. |
36 |
|
|
37 |
|
* thread.h (struct thread): Add taskq. Add comments. |
38 |
|
|
39 |
|
* thread.c (thread_create): Obtain reference to task. |
40 |
|
Add thread to task's list of threads. |
41 |
|
(thread_terminate): Mark thread as zombie before taking actions. |
42 |
|
Remove thread from port's wait queue if blocked on port. |
43 |
|
|
44 |
|
* task.h (task_deallocate): Prototype. |
45 |
|
(task_reference): Likewise. |
46 |
|
|
47 |
|
* task.c (task_reference): New function. |
48 |
|
(task_terminate): Implement functionality. |
49 |
|
(task_deallocate): New function. |
50 |
|
|
51 |
|
* syscalls.c (syscalls_table): Fix stupid typo. |
52 |
|
|
53 |
|
* ipc-syscall.c (internal_msg_trap): If target port is a member |
54 |
|
of a port set, send to that instead of port. |
55 |
|
Unlock object when calling kernel object demuxer. |
56 |
|
Handle thread->ipc_blocked_port. |
57 |
|
|
58 |
|
* ipc-port.c (ipc_port_create): Initialize pset_members list. |
59 |
|
|
60 |
|
* ipc-object.c (remove_entry): Assertion expr updated. |
61 |
|
(ipc_entry_alloc_name): Return correct return value. |
62 |
|
|
63 |
|
* init-main.c (dump_stats): Print all new stat entries, |
64 |
|
and some code style updates. |
65 |
|
|
66 |
|
* bootstrap.c: Code style update, update of copyright year |
67 |
|
and update of email address. |
68 |
|
|
69 |
|
* thread-lock.h (thread_lock_recursive_set): Prototype. |
70 |
|
(thread_lock_recursive_clear): Likewise. |
71 |
|
|
72 |
|
* thread-lock.c (thread_lock_recursive_set): New function. |
73 |
|
(thread_lock_recursive_clear): Likewise. |
74 |
|
|
75 |
|
* vm-map.c (vm_map_release): New function. |
76 |
|
|
77 |
|
* ipc-tqueue.c (ipc_tqueue_remove): New function. |
78 |
|
* ipc-tqueue.h (ipc_tqueue_remove): Prototype. |
79 |
|
|
80 |
|
2002-02-19 Johan Rydberg <jrydberg@rtmk.org> |
81 |
|
|
82 |
|
* ipc-port.c (port_set_allocate): New function. |
83 |
|
(port_move_member): Likewise. |
84 |
|
|
85 |
|
* ipc-port.h (struct ipc_port ): Add pset_members. |
86 |
|
|
87 |
|
* task.c (task_init): Initialize kernel task manually. |
88 |
|
|
89 |
2002-02-18 Johan Rydberg <jrydberg@rtmk.org> |
2002-02-18 Johan Rydberg <jrydberg@rtmk.org> |
90 |
|
|
91 |
|
* syscalls.c (syscalls_table): Add syscall_port_destroy. |
92 |
|
|
93 |
|
* ipc-port.c (port_destroy): New function. |
94 |
|
(syscall_port_destroy): New function. |
95 |
|
* ipc-port.h (port_destroy): Prototype. |
96 |
|
|
97 |
|
* ipc-object.c (ipc_object_remove): New function. |
98 |
|
* ipc-object.h (ipc_object_remove): Prototype. |
99 |
|
|
100 |
* thread.c (thread_invoke): Collect stack handoff statistics. |
* thread.c (thread_invoke): Collect stack handoff statistics. |
101 |
|
|
102 |
2002-02-17 Johan Rydberg <jrydberg@rtmk.org> |
2002-02-17 Johan Rydberg <jrydberg@rtmk.org> |