-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbasic-bug.txt
More file actions
38 lines (26 loc) · 713 Bytes
/
basic-bug.txt
File metadata and controls
38 lines (26 loc) · 713 Bytes
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
# preempt on desktop/server
As both CONFIG_PREEMPT and CONFIG_PREEMPT_COUNT are not set for desktop/server:
preempt_enable() ---> barrier()
preempt_disable() ---> barrier()
-----------------------------------------------
# barrier
-
-----------------------------------------------
# locks
- spinlock
- mutex
- rcu
- srcu
- percpu_ref
-----------------------------------------------
# detector
- hang task
- soft lockup
- hard lockup
- rcu stall
- scheduling while atomic
- lockdep: to detect deadlock
- kmemleak: to detect possible kernel memory leaks
- slub debug: use-after-free and out-of-bounds bugs
- kasan: use-after-free and out-of-bounds bugs
-----------------------------------------------