Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- kafka
- spinlock
- strex
- BLOCK
- multiqueue
- lruvec
- commit
- pmap
- devicedriver
- proc
- Network
- buddy_system
- kmalloc
- slub
- slowpath
- memory
- slab
- page
- 카프카
- mm_struct
- vm_area_struct
- blk-mq
- Android
- NDK
- Linux
- allocator
- Apache
- fastpath
- Kernel
- vmalloc
Archives
- Today
- Total
목록cache (1)
Art of Pr0gr4m
[Linux Kernel 5] Slab & Slub Allocator #2
1. Slub Page 할당 저번 포스트의 Slow-path Slub Object 할당에서 new_slab_objects에서 buddy system으로부터 새로운 free object를 할당받는다고 하였다. new_slab_objects의 내부에서는 new_slab -> allocate_slab 함수를 호출하여 새로운 slab page를 할당받는다. static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node) { struct page *page; struct kmem_cache_order_objects oo = s->oo; gfp_t alloc_gfp; void *start, *p, *next; int idx; bool sh..
IT/Linux Kernel
2020. 5. 17. 08:41