-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNOTES.txt
executable file
·58 lines (51 loc) · 1.71 KB
/
NOTES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Networking:
Adding bridged connection (only on cabl, not wifi)
# ip link add name br0 type bridge
# ip link set dev br0 up
# ip link set dev eth0(phys int) master br0
TODO:
current_thread ptr at bottom of kernel stack?
RB-tree ordered by runtime to run the one with the lowest runtime
Multi-core
Higher VGA res
brk & sbrk syscalls
Kernel memory cache (SLAB)
Proper locking on kernel structures
Error checking (ERRNO, correct return values)
VFS & Mountpoints
Reference counters and memory freeing (Generic kobjects embedded in data?)
Correct access to and from userspace
Disk driver
Filesystem driver
Runtime and tick-count normalization
2 phase thread killing (stop -> resched -> async kill)
Extended signals w/ usermode handlers
Add delete safe lists
Use regular numbers for signals in usermode
Implement GFP_ATOMIC for memo alloc that cannot sleep
Disable interrupt when handling runqueues in process context
Free unused caches
- ELF Memory Layout Usermode
----------------- FFFFFFFF
KERNEL
----------------- C0000000 (3Gb)
STACK
----------------- BFFFF000 --
|
|
|
|
| (~3Gb)
|
|
|
|
|
----------------- 0804D000 --
ELF
----------------- 08048000 --
|
| (128 Mb)
|
|
----------------- 00000000 --