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
- NDK
- memory
- vmalloc
- Network
- commit
- lruvec
- slab
- buddy_system
- strex
- Linux
- Android
- slub
- allocator
- spinlock
- pmap
- slowpath
- blk-mq
- vm_area_struct
- multiqueue
- BLOCK
- Kernel
- fastpath
- kafka
- devicedriver
- proc
- mm_struct
- kmalloc
- 카프카
- Apache
- page
Archives
- Today
- Total
목록kmalloc (1)
Art of Pr0gr4m
[Linux Kernel 5] kmalloc & vmalloc (memory allocator)
이번 포스트에서는 커널의 memory allocator 에 대해 알아본다. 1. Page Allocator 다음은 page allocator를 이용하여 페이지 단위로 메모리를 할당하는 API들이다. static inline void *page_address(const struct page *page); static inline void set_page_address(struct page *page, void *address); static inline struct page * alloc_pages(gfp_t gfp_mask, unsigned int order); #define alloc_page(gfp_mask) alloc_pages(gfp_mask, 0) unsigned long __get_free_p..
IT/Linux Kernel
2020. 5. 13. 10:20