[커널 17차 6조] 2주차

2020.08.31 22:56

김정근 조회 수:2175

iamroot kernel study 17기 6조 2주차


일시 : 2020.08.29 (토) 15:00 ~ 21:45


장소 : 온라인(Zoom)


참석자 : 김정근 김지엽 김상윤 김태정 
박준은 홍은비 임창수 정홍관 이경렬


학습내용 : 
리눅스 커널 내부구조 
4. 메모리 관리 - 3 Buddy와 slab
5. 파일시스템
6. 인터럽트 - 1. 인터럽트 처리과정 


질문 토론 :
- 버디 할당자 bitmap 의 역할 용도,
- 버디 할당자와 슬랩 할당자의 관계
- 슬랩은 더이상 사용되지 않는가
- ext2 inode에서 가리키는 파일 최대 크기가 48KB + 4MB + 4GB + 4TB 인 이유
- inode 번호는 시스템에서 유일한 값을가지는가, 혹은 디스크 파티션 마다..
- do_IRQ를 별도로 두는 이유


참고한 링크 :


메모리
https://decdream.tistory.com/347
http://jake.dothome.co.kr/pt/


파일 시스템
http://esos.hanyang.ac.kr/tc/2015gradproject8/i/entry/3
https://www.grymoire.com/Unix/Inodes.html
https://unix.stackexchange.com/questions/192800/does-the-inode-change-when-renaming-or-moving-a-file
https://5kyc1ad.tistory.com/275


인터럽트
https://neoteny.tistory.com/86
https://chardoc.tistory.com/3



참고한 커널 소스 코드 :


https://makelinux.github.io/kernel/map/


file_operstions
https://elixir.bootlin.com/linux/latest/source/include/linux/fs.h#L1837


inode_operations
https://elixir.bootlin.com/linux/latest/source/include/linux/fs.h#L1879


ksys_read()
https://elixir.bootlin.com/linux/latest/source/fs/read_write.c#L596

vfs_read() [ file->f_op->read() ]
https://elixir.bootlin.com/linux/latest/source/fs/read_write.c#L461


generic_file_read_iter()
https://elixir.bootlin.com/linux/latest/source/mm/filemap.c#L2276


register_filesystem()
https://elixir.bootlin.com/linux/latest/source/fs/filesystems.c#L72


file_system_type{}
https://elixir.bootlin.com/linux/latest/source/include/linux/fs.h#L2247

XE Login