Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Physical page allocator #48

Closed
abusalimov opened this issue Apr 2, 2010 · 6 comments
Closed

Physical page allocator #48

abusalimov opened this issue Apr 2, 2010 · 6 comments

Comments

@abusalimov
Copy link
Member

Предлагается реализовать менеджер физической памяти, использую метод граничных маркеров.
Cc: @fijiol

@fijiol
Copy link
Contributor

fijiol commented Apr 16, 2010

  1. Поправить PAGE_SIZE, PAGE_QUANTITY.
  2. Критичные секции (запись в cmark_p) поместить в чето-там_lock()/чето-там_unlock()

@fijiol
Copy link
Contributor

fijiol commented Apr 16, 2010

Добавить тесты в src/tests и cmds (интерактивный)

@abusalimov
Copy link
Member Author

Assigned to @fijiol
Changed status to Started

@fijiol
Copy link
Contributor

fijiol commented Apr 16, 2010

как-то по-поводу tests не все тривиально.. хотелось бы там заводить списки выделенных страниц... а для выделения списка хорошо бы иметь malloc.... замкнутый круг однако...
заранее приготовленные тесты (заданные константно на этапе компиляции) ИМХО не выход... соответственно поднимается воопрос вообще о необходимости внутреннего такого теста, т.к. под хостовой машиной тест написан проработал и вроде все ок.

@abusalimov
Copy link
Member Author

Поскольку тест пишется для того, чтобы находить ошибки в каком-то модуле, логично, что полагаться в самом тесте на этот модуль нельзя. =)
Напишите простой тест со статическим выделением данных, необходимых тесту.

@fijiol
Copy link
Contributor

fijiol commented Jul 15, 2010

Closed with status Done

@abusalimov abusalimov added this to the v0.1.3 milestone Jul 15, 2010
@fijiol fijiol closed this as completed Jul 15, 2010
abusalimov pushed a commit that referenced this issue Apr 18, 2015
abusalimov pushed a commit that referenced this issue Apr 18, 2015
WARNING: page_alloc/Makefile don't work. #48.
abusalimov pushed a commit that referenced this issue Apr 18, 2015
It isn't right, but it's work. #48.
abusalimov pushed a commit that referenced this issue Apr 18, 2015
abusalimov pushed a commit that referenced this issue Apr 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants