Conversation
sigridjineth
requested changes
Nov 29, 2021
Contributor
sigridjineth
left a comment
There was a problem hiding this comment.
조금 추상적이네요. 가상 메모리도 주제별로 나눠서 다시 스터디해봅시다.
바로 다음 주제부터 deep dive 하면 좋을 것 같은데요, 의견 주세요.
| 4. 다시 페이지 테이블에 접근하여, 물리 메모리 주소를 찾음. | ||
|
|
||
| - 페이지 테이블을 프로세스당 하나... | ||
| - 테이블 접근하기 전에, 찾는 TLB(Translation Lookaside Buffer) 라는 공간도 있음. |
Contributor
There was a problem hiding this comment.
구체적인 과정을 정리해보고 싶은데 머리가 아프네요ㅠ
이 주제 하나만으로 스터디해도 좋을 것 같아요.
Contributor
Author
There was a problem hiding this comment.
일주일 2개를 줄이고, 하나만 Deep dive 하는 방식으로 변경해도 좋을듯 하네요
|
|
||
| - 페이지 테이블을 프로세스당 하나... | ||
| - 테이블 접근하기 전에, 찾는 TLB(Translation Lookaside Buffer) 라는 공간도 있음. | ||
| - 여기서 찾고자하는 논리 주소의 값이 있으면 바로 물리 주소를 반환. |
Contributor
There was a problem hiding this comment.
Q1: 논리주소의 물리주소 변환 과정을 간단히 적어주시겠어요?
Contributor
Author
There was a problem hiding this comment.
- 컴파일 시점에 주소 할당이 일어나는 경우
- 논리 주소 = 물리주소 이므로 따로 변환이 일어날 것 같진 않네요.
- 프로그램이 메모리에 올라갈 때 (로드 시점) 에 주소 할당이 일어나는 경우
- 이럴경우 CPU는 프로그램이 올라간 메모리 주소의 base register 을 고려해서 물리주소로 변환시킬듯 싶네요.
- 실행 시점에 주소가 할당되는 경우
- 이게 이제 위에서 언급된 사항인듯 싶어요.
- 우선 논리 주소를 통해 TLB로 찾아보고 있으면 반환하고 없으면 MMU를 통해서 물리 주소로 바뀌도록 진행될듯 싶습니다.
참고
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
issue : #70 , #71
due date : 2021/12/04