Arm Linux Kernel Hacks

rousalome.egloos.com

포토로그 Kernel Crash


통계 위젯 (화이트)

11105
637
415734


태그 : object 요약보기전체보기목록닫기

1

[Kernel] 슬랩 페이지(slab page)가 관리하는 슬랩 오브젝트 갯수

# 리눅스 커널 Memory Management1. 슬랩 Slab Memory 소개  2. 슬랩 Slab Memory 디버깅(Debugging)   3. slab - kmem_cache 소개 및 slab object(슬랩 오브젝트) Overview   4. 슬랩 페이지(slab page)가 ...

[Kernel] slab object 자료구조 - 페이지, 슬랩 캐시

이번 시간에는 코어 덤프에서 페이지 디스크립터와 슬랩 오브젝트 자료구조를 알아 봅니다.우선 다음과 같은 페이지 디스크립터가 있습니다.(struct page *) (struct page*)0xEC778540 = 0xEC778540 -> (  (long unsigned int) flags = 128 = 0x80,  //<<...

[0410] Slab Memory Corruption Case Study#3 - 디버깅

# 리눅스 커널 Memory Management1. 슬랩 Slab Memory 소개  2. 슬랩 Slab Memory 디버깅(Debugging)   3. slab - kmem_cache 소개 및 slab object(슬랩 오브젝트) Overview   4. 슬랩 페이지(slab page)가 ...

[0410] Slab Memory Corruption Case Study#2 - 디버깅

# 리눅스 커널 Memory Management1. 슬랩 Slab Memory 소개  2. 슬랩 Slab Memory 디버깅(Debugging)   3. slab - kmem_cache 소개 및 slab object(슬랩 오브젝트) Overview   4. 슬랩 페이지(slab page)가 ...

[0410] Slab Memory Corruption Case Study#1 - 디버깅(2)

# 리눅스 커널 Memory Management1. 슬랩 Slab Memory 소개  2. 슬랩 Slab Memory 디버깅(Debugging)   3. slab - kmem_cache 소개 및 slab object(슬랩 오브젝트) Overview   4. 슬랩 페이지(slab page)가 ...

[0410] Slab Memory Corruption Case Study#1 - 로그 분석(1)

slab - kmem_cache 소개 및 slab object(슬랩 오브젝트) Overview

# 리눅스 커널 Memory Management1. 슬랩 Slab Memory 소개  2. 슬랩 Slab Memory 디버깅(Debugging)   3. slab - kmem_cache 소개 및 slab object(슬랩 오브젝트) Overview   4. 슬랩 페이지(slab page)가 ...

커널 오브젝트 Kernel Object - rbtree debugging(parent directory) - (2)

Crash Tool로 커널 오브젝트의 rbtree를 디버깅해서 parent node를 확인하는 방법에 대해 간단히 소개하고자 해요.아래와 같은 커널 오브젝트가 있다고 가정해보아요. Sys node의 위치는 /sys/devices/system/cpu/cpu3 이겠죠?현재 struct kobject->cpu는 "cpu3"을 가르키고 있는데요, 그럼 이...

커널 오브젝트 Kernel Object - rbtree debugging(child directory) - (1)

Crash Tool로 커널 오브젝트의 rbtree를 디버깅하는 방법에 대해 간단히 소개하고자 해요.아래와 같은 커널 오브젝트가 있다고 가정해보아요. Sys node의 위치는 /sys/devices/system/cpu/cpu3 이겠죠?현재 struct kobject->cpu는 "cpu3"을 가르키고 있는데요, 그럼 이 커널 오브젝트의 하위 child...
1