본문 바로가기

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
  • vmalloc
  • memory
  • lruvec
  • buddy_system
  • Kernel
  • vm_area_struct
  • slowpath
  • 카프카
  • kmalloc
  • Linux
  • mm_struct
  • allocator
  • slab
  • kafka
  • BLOCK
  • page
  • commit
  • Apache
  • strex
  • blk-mq
  • NDK
  • slub
  • devicedriver
  • fastpath
  • Android
  • Network
  • pmap
  • multiqueue
  • proc
  • spinlock
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Mapping (1)

Art of Pr0gr4m

[Linux Kernel 5] mmap (메모리 매핑)

리눅스 시스템 프로그래밍 경험이 있다면 메모리 매핑은 꽤 익숙할 것이다. (만약 익숙치 않다면 꼭 다시 공부를 하기 바란다. 굉장히 중요하다.) 이번 포스트에선 커널이 메모리 매핑을 제공하기 위한 인터페이스를 살펴보고 예제를 작성해본다. 1. mmap interface mmap 오퍼레이션을 저장하기 위한 구조체는 다음과 같다. /* * These are the virtual MM functions - opening of an area, closing and * unmapping it (needed to keep files on disk up-to-date etc), pointer * to the functions called when a no-page or a wp-page exception occurs..

IT/Linux Kernel 2020. 5. 17. 10:11
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바