2014-05-13 3 views
1

이 코멘트는 리눅스 소스 코드에 mm_types.h 파일에서 복사 :누가 해당 페이지를 매핑합니까? - 역지도

/* 
... 
* Each physical page in the system has a struct page associated with 
* it to keep track of whatever it is we are using the page for at the 
* moment. Note that we have no way to track which tasks are using 
* a page, though if it is a pagecache page, rmap structures can tell us 
* who is mapping it. 
... 
*/ 

그래서, 내 질문은 주석으로 특정 물리적 페이지를 참조하거나 매핑중인 프로세스를 찾는 방법입니다 뭐라고? 이것을 할 수있는 기능은 무엇입니까?

감사합니다.

답변

1

초보자 방법 : 각 프로세스 맵을 스캔하고 물리적으로 매핑되는 곳을 확인하십시오.

이 기사에는 단서가 더 있습니다 http://lwn.net/Articles/23732/

관련 문제