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 | 31 |
Tags
- NDK
- buddy_system
- fastpath
- commit
- slub
- allocator
- multiqueue
- slowpath
- strex
- Linux
- pmap
- lruvec
- kafka
- BLOCK
- proc
- Kernel
- Apache
- mm_struct
- blk-mq
- Network
- spinlock
- vmalloc
- page
- vm_area_struct
- 카프카
- Android
- kmalloc
- devicedriver
- slab
- 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