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
- vm_area_struct
- fastpath
- Kernel
- BLOCK
- Linux
- Network
- pmap
- proc
- slab
- slub
- NDK
- 카프카
- buddy_system
- lruvec
- mm_struct
- spinlock
- page
- kafka
- Apache
- allocator
- commit
- Android
- slowpath
- blk-mq
- kmalloc
- strex
- multiqueue
- vmalloc
- devicedriver
- memory
Archives
- Today
- Total
목록cache (1)
Art of Pr0gr4m

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