본문 바로가기

Art of Pr0gr4m

검색하기
Art of Pr0gr4m
프로필사진 pr0gr4m

  • Pr0gr4m (45)
    • IT (43)
      • C Language (3)
      • Linux Kernel (22)
      • Linux Programming (1)
      • Network Programming (0)
      • Android (2)
      • Embedded Linux (0)
      • Using Linux (6)
      • Kafka (2)
    • Book (2)
      • IT (2)
      • 만화 (0)
      • 기타 (0)
    • BoB (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바